Ask Your Question
1

Record Gazebo Simulation

asked 2014-04-27 20:13:08 -0500

Ros_newbie gravatar image

Hi, Can anyone tell me how to record the simulation that I run on Gazebo and rviz? I am unable to find any documents suggesting the solution.

Ubuntu - 120.4 precise ROS - Groovy

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-05-04 05:19:29 -0500

Ken_in_JAPAN gravatar image

I use package recordMyDesktop to record a simulation. If you check it on Ubuntu Software Center, you can find it out. Please look at this web.

https://apps.ubuntu.com/cat/applicati...

https://www.youtube.com/watch?v=ExleT...

As it is easy to download and install it, please try it!

edit flag offensive delete link more
0

answered 2014-04-27 23:26:03 -0500

prince gravatar image

You can use screen grabber utilities or run command line tool s like ffmpeg. Maximise the output you want to capture as these tool grab complete screen. I use following command:

ffmpeg  -f x11 grab -s <screen resolution> -r 25 -i 0.0 <output file name>

Screen resolution parameter  is display dependent e.g. xvga . Use ffmpeg man page for more information.

Prince.

edit flag offensive delete link more

Comments

I am trying to install this - RecordingOpenGLAppsWithGLC. But I am not able to follow the instructions. https://github.com/nullkey/glc/wiki/Install It says After Building.. Now how do I build it?

Ros_newbie gravatar imageRos_newbie ( 2014-04-28 13:54:35 -0500 )edit

I have not used it earlier. I use ffmpeg. Simply use the command which I mentioned. I have tested it a number of times.

prince gravatar imageprince ( 2014-05-04 22:16:27 -0500 )edit

ffmpeg can grab a specific area of the screen, not just the entire screen. It's quite a complex and long command line, though. I created an alias for it. I'm away from my Linux box or I'd paste it here.

Kurt Leucht gravatar imageKurt Leucht ( 2014-05-05 16:50:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-04-27 20:13:08 -0500

Seen: 1,209 times

Last updated: May 04 '14