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

[RVIZ2] Load configuration at launch [closed]

asked 2018-10-02 02:24:43 -0500

Myzhar gravatar image

I'm trying to load an existing configuration for RVIZ2 from command line, but it seems that it is not possible, differently from RVIZ in ROS1.

Does RVIZ2 support command line parameters?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Myzhar
close date 2018-11-15 07:48:28.707728

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-10-02 02:33:55 -0500

Myzhar gravatar image

The answer was simple: rviz2 -h

Options:
  -h, --help                             Displays this help.
  -d, --display-config <display_config>  A display config file (.rviz) to load
edit flag offensive delete link more

Comments

Hi, Have you tried the same from a launch file? This doesn't work for me:

Node(package='rviz2', executable='rviz2', name="rviz2", output='screen', arguments=['-d '+rviz_path])
martimorta gravatar image martimorta  ( 2020-10-18 11:43:23 -0500 )edit

Note it should be arguments=['-d', rviz_path] as mentioned here

Rufus gravatar image Rufus  ( 2021-07-03 12:31:10 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-10-02 02:24:43 -0500

Seen: 1,693 times

Last updated: Oct 02 '18