Home | Tutorials | Wiki | Issues
Ask Your Question

Option in World file to make camera follow model

asked 2018-12-17 14:12:49 -0600

variable gravatar image

Is there a way to edit the world file to have the camera follow the model? I am rerunning the same simulation right now and trying to save time instead of right-clicking my model and selecting "Follow"

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-12-17 17:51:06 -0600

variable gravatar image

To summarize, in case the tutorial changes...

You add the following to your .world file, which would track target_model from 3 meters behind it:

<gui fullscreen='0'>
     <camera name="user_camera">
          <xyz>-3 0 0</xyz>
edit flag offensive delete link more

answered 2018-12-17 14:28:07 -0600

There's a tutorial in a pull request right now: https://bitbucket.org/ocrave/gazebo_t...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-12-17 14:12:49 -0600

Seen: 70 times

Last updated: Dec 17 '18