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

rviz configuration file format

asked 2011-11-07 16:01:45 -0600

j-v gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
10

answered 2011-11-07 17:14:27 -0600

Patrick Mihelich gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2011-11-07 16:01:45 -0600

Seen: 14,679 times

Last updated: Nov 07 '11