ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Set the "target frame" to be the frame of the robot (commonly named /base_link
) and the camera will move with that link and therefore the robot.
This will only follow the position of the robot, but will not turn with it. There is an open pull request that adds a new view controller to rviz which also follows in a "third person" mode:
https://github.com/ros-visualization/rviz/pull/861
I haven't had time to integrate it yet, but you might be able to build rviz with that pull request merged in the mean time.