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

Save rqt_plot settings

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

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
8

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

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:

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

Comments

1

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 -0500 )edit
1

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 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 4,155 times

Last updated: May 27 '15