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

Revision history [back]

This would likely require changes in rviz source code. Another option is just recording the part of the screen you´re interested in with a external tool like ffmpeg.

To install the necessary packages:

sudo apt-get install ffmpeg libavcodec-extra-53

Recording the screen is then as easy as typing (for example)

ffmpeg  -s 1920x1080 -f x11grab -r 30 -i :0.0+1920,0 -vcodec libx264 -vpre lossless_ultrafast -threads 0 video.mkv

By specifying the same parameters you used for setting the rviz window size as described here you could even largely automate things when putting them into a script.