Gazebo | Ignition | Community
Ask Your Question

Change Zoom Level of Follow Mode

asked 2014-07-29 12:42:52 -0500

K. Zeng gravatar image

I'm trying to closely track a robot's movement. Is there a way to adjust the zoom level of the GUI's follow function so the camera does stay on the robot and is also closer to the model?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-07-30 11:30:45 -0500

scpeters gravatar image

The camera follow distance is hard-coded as variable origDistance to 8.0 meters in Camera::Update. You will have to build from source to change this value.

As an alternative, you can attach a camera sensor to your robot at a specified offset and use the Topic Visualizer to watch the camera images.

edit flag offensive delete link more


Is there a way to suggest this as a future feature? I'm thinking that once follow mode is activated and the camera zooms out to 8 meters, I'm thinking the mouse's zoom function ought to be active and the zoom should hold to the new value.

Kurt Leucht gravatar imageKurt Leucht ( 2014-07-30 13:37:36 -0500 )edit

I just created a [feature request for this on bitbucket](; please vote for it if you would like this feature.

scpeters gravatar imagescpeters ( 2014-07-30 14:38:46 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-07-29 12:42:52 -0500

Seen: 4,007 times

Last updated: Jul 30 '14