Closed CodeFinder2 closed 2 years ago
Okay, nevermind: it is related to the ros::spinOnce()
in RvizVisualTools::waitForSubscriber()
. I have previously locked a mutex and if spinOnce()
invokes a callback (locking the mutex again), it deadlocks.
So, would it be possible to skip waitForSubscriber()
? Probably adding an additonal parameter?
Me and all my research group have the exact same issue. Is it going to be fixed? In which version?
Hi,
I am facing the problem that
does not return. Even when Rviz connects, nothing will happen. I don't know if this is related to my issue but note that neither
visual_tools->loadMarkerPub(false, true);
norvisual_tools->loadMarkerPub(true, true);
is working. (I am requiring latched topics.)Once I comment this block:
in the implementation of
RvizVisualTools::publishMarkers()
(invoked bytrigger()
), it is working fine.Is this a bug? IMHO, there should be the possibility to skip the
waitForSubscriber()
.