You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using multiple servers which have different names within the same node, disabling and re-enabling the visualisation of the markers in rviz does not work correctly.
The cause of this is likely the update_full topic being used to know when there are markers available. Because this is a latched topic generated by the server, it only retains the last published message on the topic. Each server with a different server_id publishes to the same topic, which means that it's only possible for the process function to get the init message for a single one of the servers.
First, start rviz and add an interactive marker visualiser on the topic /test/interactive. Then, run this node. You will see a couple of markers appear, like this:
The messages are as expected:
Then, uncheck the box to display the markers, and re-check it. You will now only be able to see the arrow marker, since that is the last one which was published on update_full. The status indicates that the circle client is still waiting for an initialisation message.
When using multiple servers which have different names within the same node, disabling and re-enabling the visualisation of the markers in rviz does not work correctly.
The cause of this is likely the
update_full
topic being used to know when there are markers available. Because this is a latched topic generated by the server, it only retains the last published message on the topic. Each server with a differentserver_id
publishes to the same topic, which means that it's only possible for theprocess
function to get the init message for a single one of the servers.interactive_markers/src/single_client.cpp
Line 66 in 36740b1
interactive_markers/src/interactive_marker_client.cpp
Lines 151 to 166 in 36740b1
Use the code below to reproduce.
First, start rviz and add an interactive marker visualiser on the topic
/test/interactive
. Then, run this node. You will see a couple of markers appear, like this:The messages are as expected:
Then, uncheck the box to display the markers, and re-check it. You will now only be able to see the arrow marker, since that is the last one which was published on
update_full
. The status indicates that the circle client is still waiting for an initialisation message.The text was updated successfully, but these errors were encountered: