ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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.