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

Inconsistent plot vs numerical data display in rqt_bag

asked 2020-03-07 19:00:23 -0500

pauljurczak gravatar image

updated 2020-03-10 23:56:10 -0500

I'm running ROS Melodic on Ubuntu 18.04. When I visualize a rosbag with rqt, plotted data (z = 1.00) does not correspond to numerical values displayed in the right pane (z = 0.00). Here is the screenshot:

image description

edit retag flag offensive close merge delete

Comments

Please attach your screenshot directly to the question. I've given you sufficient karma.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-08 06:31:22 -0500 )edit

@gvdhoorn Sorry for the delay, I didn't see your comment. BTW, when I leave Firefox tab with my question open, Asked: 46 hours ago updates automagically, but Comments, Seen: 7 times and other elements require manual page refresh.

pauljurczak gravatar image pauljurczak  ( 2020-03-09 17:46:50 -0500 )edit

when I leave Firefox tab with my question open, Asked: 46 hours ago updates automagically,

yes, it's a javascript based timer running client side.

but Comments, Seen: 7 times and other elements require manual page refresh.

AskBot does not use any event pushing, so a reload is necessary to refresh the page.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-10 03:06:16 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-03-10 11:45:32 -0500

I noticed some years ago that the rqt_bag plot functionality apparently doesn't plot all datapoints, but appears to only sample them. This clearly limits the plot's usefulness. Should be find- and fixable when looking at source, but there are also alternatives such as PlotJuggler available that don't show this issue.

edit flag offensive delete link more

Comments

PlotJuggler does indeed show complete data in my case.

pauljurczak gravatar image pauljurczak  ( 2020-03-11 00:17:18 -0500 )edit

Furthermore, in your case, PlotJuggler will show the yaw rotation in degrees instead of the raw quaternion ;)

Davide Faconti gravatar image Davide Faconti  ( 2020-05-04 09:47:59 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-03-07 19:00:23 -0500

Seen: 160 times

Last updated: Mar 10 '20