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

Save rqt_plot settings

asked 2015-05-27 01:53:13 -0600

Is there any way to save the rqt_plot (topics plotted) configuration and launch it from launch file? Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-05-27 02:27:15 -0600

Adolfo Rodriguez T gravatar image

The rqt_plot command allows to pass topic names as arguments (run rqt_plot -h for detailed command usage). You can combine this with the --args attribute of the <node> element in roslaunch:

  <node name="pos_vel_plot"
        args="/joint_states/position[0] /joint_states/position[1]" />
edit flag offensive delete link more



Oops, so it is easier than I thought. Thank you, it works :)

Javier V. Gómez gravatar image Javier V. Gómez  ( 2015-05-27 02:49:57 -0600 )edit

What currently cannot be done (that was possible with rx_plot) is to have multiple subplots in rqt_plot. You can somewhat emulate that behavior with multiple rqt_plot instances in a rqt canvas, but the timelines are independent, which makes synchronized pausing impossible.

Adolfo Rodriguez T gravatar image Adolfo Rodriguez T  ( 2015-05-27 03:14:23 -0600 )edit

Question Tools

1 follower


Asked: 2015-05-27 01:53:13 -0600

Seen: 3,970 times

Last updated: May 27 '15