Skip to content
Snippets Groups Projects
Commit 890e5d6b authored by armar-user's avatar armar-user
Browse files

local changes on ARMAR-6: RobotUnitStreamingReceiver: refined lock_guard;...

local changes on ARMAR-6:  RobotUnitStreamingReceiver: refined lock_guard; removed logging (committed by FR)
parent 9c03603d
No related branches found
No related tags found
1 merge request!313Issues with PackagePath and robot visualization
......@@ -58,10 +58,12 @@ namespace armarx::detail::RobotUnitDataStreamingReceiver
}
static_assert(sizeof(std::uint64_t) == sizeof(msgSequenceNbr));
const auto seq = static_cast<std::uint64_t>(msgSequenceNbr);
std::lock_guard g{_data_mutex};
ARMARX_INFO << deactivateSpam()
<< "received " << data.size() << " timesteps";
_data[seq] = data;
{
std::lock_guard g{_data_mutex};
_data[seq] = data;
}
}
std::atomic_bool _discard_data = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment