Gazebo | Ignition | Community
Ask Your Question
0

Modify the world given in [http://gazebosim.org/tutorials?tut=camera_save&cat=sensors]

asked 2021-03-02 21:33:00 -0500

Mohammad gravatar image

updated 2021-03-03 17:17:42 -0500

Hi, I'm running given world in [http://gazebosim.org/tutorials?tut=ca...]. How can I modify it to save images of another scene such as a moving camera around a room?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-03-04 08:10:47 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

You can build a movement plugin to attach to your SDF model of the camera. The easier way I think is to change the position of the model in the world. Otherwise, you can set a velocity to your model and move the camera using it. You can start having a look at this Plugin 101 and then have a look at Model plugin.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2021-03-02 21:33:00 -0500

Seen: 55 times

Last updated: Mar 03 '21