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

Does rviz support a viewpoint that follows the robot?

asked 2015-07-23 01:51:08 -0500

lindzey gravatar image

updated 2015-07-23 01:51:56 -0500

I'm working on a robot that will be performing long out-and-back traverses. I'd like to use rviz to show the local sensor data we're collecting, but I'm stuck trying to figure out how to get the viewpoint to follow the robot.

If I select the fixed frame to be a constant offset from the robot, then all the LaserScans fall right on top of each other. If I set the fixed frame to be a world frame, then the sensor data looks great, but the robot quickly drives off the screen.

So, is there a way to control where the map is centered independent of which transformation is being used to display the data?

(I'm using Hydro on Ubuntu 12.04)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-07-23 02:33:32 -0500

William gravatar image

I think this pull request will be what you want:

https://github.com/ros-visualization/...

It hasn't been merged and released yet, but it's on my todo list. It will probably not be released into Hydro though. It should be in the Indigo and Jade versions of rviz. If you're set on using Hydro they you'll want to apply that pull requests patch to the hydro-devel branch of rviz and build it from source.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2015-07-23 01:51:08 -0500

Seen: 274 times

Last updated: Jul 23 '15