ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Since you are following your tutorial from : http://wiki.ros.org/rviz/Tutorials/Markers%3A%20Basic%20Shapes
Just remove the slash('/') in my_frame, i.e, change this in your src/basic_shapes.cpp
47 marker.header.frame_id = "/my_frame";
changed to
47 marker.header.frame_id = "my_frame";
This fixed the issue for me. Hope it does for you too.