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

You can remove the static transform publisher from the launch file, if you want /center_map to be your center in rviz.

In your code do the following:

odom_transform.setOrigin(Position);
odom_transform.setRotation(Orientation);

In rviz select center_map as the fixed frame.

Hope this works.