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

how to clear the lines in rqt_plot [closed]

asked 2014-02-13 15:03:30 -0500

brice rebsamen gravatar image

how to clear the lines in rqt_plot? The clear button removes the lines, but also the topics. I'd like to be able to clear the lines, but keep my topic list the same.

Scenario: I am using rqt_bag to play back some data from a bag file. I'm plotting one data from one topic, then I realize I need to compare it to another data from another topic, so I add that second one, and restart the playback.

I'm tempted to write a script to extract fields from topics and dump them to a csv file then use another tool (Libreoffice Calc or gnuplot to plot it...)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by brice rebsamen
close date 2015-06-24 12:00:47.290878

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-13 19:31:24 -0500

ahendrix gravatar image

I'm not sure that rqt_plot has a button for that. You may find better options if you switch the plotting frontend.

In the past, I've used the -p option to rostopic echo to dump data in a CSV format. This works well for fixed-size messages, and not as well for messages that contain arrays and other large data structures. You could probably do something where you use rosbag play in one terminal and rostopic echo -p in another.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-02-13 15:03:30 -0500

Seen: 585 times

Last updated: Feb 13 '14