0
$\begingroup$

Rosanswers logo

On the rviz wiki, one of the command line arguments is listed as :

-d, --display-config <arg>

Load configuration file <arg> at startup.

What is the format for rviz configuration files, to feed rviz at the command line?


Originally posted by j-v on ROS Answers with karma: 23 on 2011-11-07

Post score: 2

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

The easiest way to edit rviz configurations is through rviz itself:

  • Open rviz and set up whatever displays and layout you like.
  • Go to File->Save Config and choose a descriptive file name.

Later, you can restore your configuration by running rviz with -d, or with File->Open Config. rviz also maintains a list of File->Recent Configs for you. Saving your config is useful when you have a specific desired layout for an application or demo.

For day-to-day use, rviz stores your current config in $HOME/.rviz/display_config, so you can close and re-open rviz without losing your displays and layout.

In general there's no need to edit .vcg files by hand, but they are in a simple INI format. Save one out and open it in your favorite text editor to see the details.


Originally posted by Patrick Mihelich with karma: 4336 on 2011-11-07

This answer was ACCEPTED on the original site

Post score: 10

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.