ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Change Rviz's View Types in launch file?

asked 2013-05-28 21:56:09 -0600

Mohsen Hk gravatar image

i used Rviz in launch file like :

<node pkg="rviz" type="rviz" name="rviz" args="-d $(find hector_slam_launch)/rviz_cfg/mapping_demo.vcg"/>

but i wanna change "TopDownOrtho" view to "XYorbit" view in launch file. how can I?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-28 22:05:42 -0600

You can edit the config file that ur loading at the time of launch. There will be a parameter "camera\type" in config file.

Hope it helps..

edit flag offensive delete link more


Thank you :) do you know "camera\type" params in ".vcg" file?

Mohsen Hk gravatar image Mohsen Hk  ( 2013-05-28 22:33:43 -0600 )edit

I am not sure about that but you can check in rviz source file..or just change it in rviz and then save it. This will automatically update it in in config file which u can refer later..

ayush_dewan gravatar image ayush_dewan  ( 2013-05-29 02:35:01 -0600 )edit

Thank you :)

Mohsen Hk gravatar image Mohsen Hk  ( 2013-06-07 05:04:31 -0600 )edit

I think this does not answer the question. I would also like to change some parameters in the launch file. For example, I would like to change the topic name of a visualization element in RViz without having to copy the rviz file.

galou gravatar image galou  ( 2014-04-09 21:33:02 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-05-28 21:56:09 -0600

Seen: 5,392 times

Last updated: May 28 '13