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

rqt_plot for data in DignosticArray message

asked 2014-09-24 17:59:32 -0600

john.novak gravatar image

I have been trying (unsuccessfully) to plot /diagnostics/status[0]/values[0]/value (a stringified floating point number).

Is such a topic string supported by rostopic or rqt_plot ? If so, how do I access the value of interest ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-24 23:10:11 -0600

ahendrix gravatar image

Sadly, you can't plot strings in rqt_plot, and the diagnostics messages don't support floating-point diagnostic values.

You may want to look at the diagnostic_analysis package for alternate ways to analyze diagnostic data, or consider publishing your numeric data on a dedicated topic.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-09-24 17:59:32 -0600

Seen: 257 times

Last updated: Sep 24 '14