personalrobotics / or_rviz

OpenRAVE viewer plugin that publishes the environment to RViz as InteractiveMarkers.
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

Race condition when changing link properties #9

Open mkoval opened 9 years ago

mkoval commented 9 years ago

Calling Enable or SetVisible too quickly after creating the KinBody causes a race condition:

python: /usr/include/boost/smart_ptr/shared_ptr.hpp:653: typename
boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const
[with T = or_interactivemarker::markers::KinBodyLinkMarker; typename
boost::detail::sp_member_access<T>::type = or_interactivemarker::markers::KinBodyLinkMarker*]: 
Assertion `px != 0' failed.