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

rxplot displaying wrong values

asked 2012-03-15 10:26:27 -0500

TommyP gravatar image

I publish a NavSatFix message on a topic. Using rostopic echo I can see that the longitude value is 13.475883. But when plotting the value with rxplot I get a value around 0.016.

I also observed similar behaviour for one of my own messages containing a set of float64.

Any ideas?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-03-16 09:20:37 -0500

kwc gravatar image

Are you sure its displaying the wrong value? matplotlib, which rxplot uses, sometimes readjusts the y-axis if the value range is small so that the Y-value is an offset from a fixed value. The fixed value will be displayed on the axis as well.

edit flag offensive delete link more

Comments

It seems you are right. Clicking on the line show the correct value. But I saw no fixed value displayed. But doing a configure I then saw the fixed value on the top. It was displayed but under the "menu" so you did not see it. This was very confusing.

TommyP gravatar image TommyP  ( 2012-03-16 10:36:41 -0500 )edit

Question Tools

Stats

Asked: 2012-03-15 10:26:27 -0500

Seen: 356 times

Last updated: Mar 16 '12