ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
TLDR: Make sure the topic name that your are publishing is actually the name being subscribed to.
If this follows the tutorial exactly, then you probably just need to map your topics correctly. It sounds like RVIZ is subscribing to /move_group/monitored_planning_scene
and your topic is publishing to planning_Scene
In your launch file of this c++ node you can remap the topic :
<remap from="planning_Scene" to="/move_group/monitored_planning_scene"/>
Or you can hardcode the RVIZ topic into the c++ node by replacing planning_Scene
with /move_group/monitored_planning_scene
where you define the publisher above.