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

Revision history [back]

The problem is likely in the frame_id assignment. You are using fast_marker.header.frame_id = "map" when you should be using your cameras frame_id value. The camera frame_id typically comes from something like a URDF.

One potential short-term solution from within rviz is to set both the global frame and target frame to map while leaving your code the same (i.e., marker frame_id is also map).