Ask Your Question
3

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
5

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 imageJavier V. Gómez ( 2015-05-27 02:49:57 -0500 )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 imageAdolfo Rodriguez T ( 2015-05-27 03:14:23 -0500 )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

1 follower

Stats

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

Seen: 1,971 times

Last updated: May 27 '15