Skip to content

Commit

Permalink
Add error log printing when it failed to get buffer from simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunseok-yang committed Jan 10, 2022
1 parent 4864af1 commit eb883b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloisim_ros_base/src/base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ bool Base::GetBufferFromSimulator(zmq::Bridge* const bridge_ptr, void** ppBbuffe
const auto succeeded = bridge_ptr->Receive(ppBbuffer, bufferLength, isNonBlockingMode);
if (!succeeded || bufferLength < 0)
{
DBG_SIM_ERR("Bridge Ptr: %p", bridge_ptr);
return false;
}

Expand Down

0 comments on commit eb883b6

Please sign in to comment.