How can i graph a string topic in rqt_plot? [closed]
How can i graph a string topic in rqt_plot?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
How can i graph a string topic in rqt_plot?
rqt_plot only plots numeric values; you can't plot a string.
I'm not sure how that would work anyway. Why are you trying to plot a string and what sort of results do you expect to get?
my string data outputs numeric value, so is there anyway to convert the string to float or int in the rosbag
There's no way to have rqt_plot parse string data into a number. If you're sending numeric data, you should use one of the numeric message types. If you have existing data you can write a node that subscribes to the string version and republishes it as a real numeric type.
Asked: 2016-07-25 11:51:04 -0500
Seen: 245 times
Last updated: Jul 25 '16