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

RVIZ start specific config file

asked 2013-09-05 22:51:48 -0500

acp gravatar image

Hi all.

I am just wondering if is it possible to configure RViz such that when I start it, it will start automatically with a specific config file.

In advance thank you.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2013-09-05 23:10:03 -0500

acp gravatar image

well, I found out that saving the configuration as a default.rviz, next time I open it, it will automatically load the configuration :)

edit flag offensive delete link more

Comments

5

That's only valid when you're using the same machine (+ same user account) since the config last time is saved into `~/.rviz`. For more robustness, use @Tones's suggestion or create a `.launch`.

130s gravatar image 130s  ( 2014-05-01 23:26:55 -0500 )edit

What if I have changed user and want to edit the default config? Is there a way to do that?

2ROS0 gravatar image 2ROS0  ( 2014-07-16 16:23:50 -0500 )edit

@kipr please refrain from asking a new question in `comment` area (forum contributors won't find it as a new question easily). Please open a new question with more info.

130s gravatar image 130s  ( 2014-07-16 20:23:01 -0500 )edit
31

answered 2013-09-10 21:47:40 -0500

Tones gravatar image

Use the command line parameter -d <arg> at startup. <arg> is the path to your .vcg-file:

rosrun rviz rviz -d <arg>
edit flag offensive delete link more
3

answered 2021-11-19 08:42:35 -0500

ticotico gravatar image

updated 2021-11-19 08:43:03 -0500

For a launch file:

<node pkg="rviz" type="rviz" name="rviz" args="-d $(find my_pkg)/path_to_config/config.rviz"/>
edit flag offensive delete link more

Comments

How can I do the same from command line (find package specifically)?

Divelix gravatar image Divelix  ( 2022-02-18 04:50:37 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-09-05 22:51:48 -0500

Seen: 28,540 times

Last updated: Nov 19 '21