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

Modify Rviz fixed frame from ros node

asked 2015-03-03 08:13:34 -0500

IvanV gravatar image

I need to interact with a rviz UI which is running as a rqt pluging inside a bigger GUI. Basically, I need to change the "fixed frame" when some event is triggered.

I know that using librviz you can greatly interact with rviz, but that requieres that the rviz UI is created and launched programatically from the interacting node, which is not the case (the rviz UI is already running as a separate QT plugin).

Is there any way of modifying the configuration of rviz from a remote node? Is it possible at all for a ROS node to interact with rviz through topics or services?

Thank you and best regards,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-03-04 02:21:25 -0500

gvdhoorn gravatar image

I'm not sure I understand you correctly, but programmatically controlling camera viewpoint (and animating it) is possible using the rviz_animated_view_controller plugin. This is a regular RViz plugin, so does not require you to use librviz at all, and you interact with it using ROS msgs.

edit flag offensive delete link more

Comments

Thank you! That did the trick! :)

IvanV gravatar image IvanV  ( 2015-03-04 04:05:21 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-03 08:13:34 -0500

Seen: 279 times

Last updated: Mar 04 '15