how to draw a parameter vs time graph?
Is there any tool integrated with ROS which can be used to draw a graph showing a parameter change with time? Thanks in advance.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there any tool integrated with ROS which can be used to draw a graph showing a parameter change with time? Thanks in advance.
There aren't any tools in ROS for plotting parameters over time, and there's a fairly good reason for this: ROS parameters should not change very often. If you're changing parameters to communicate data between nodes, you should probably be using a topic instead.
That said, if you have a legitimate reason for wanting to capture and plot the value of a parameter over time, you could create a simple node which checks the value of your parameter, and publishes it on a topic. (roscpp has the getParamCached()
function, which would be particularly good for this.) Once you have your parameter published on a topic, you can plot it with rqt_plot and log changes using rosbag.
Sorry i was talking about the value of message variable with respect to time not ros parameter. I think i should have used topic/message value instead of word "parameter".
I believe you are looking for rqt_plot. It can plot a value versus time.
I am afraid @Mind_hunter is not looking for rqt_plot as its purpose is drawing a value of a numeric topic/message type vs. time, not a rosparam
ya right i am looking for drawing a value of a numeric message type vs time .
Asked: 2015-01-19 23:58:50 -0500
Seen: 468 times
Last updated: Jan 20 '15
Making a graph of the robot links of Xacro file
ROS 2 launch action when node created
Get dot file of ROS graph w/o rqt_graph
I am writing data of turtlebot movement, and I want to write a paper. How can I get the data?
Is there a package which allows you to convert .pgm with .yaml to graph data?
Draw a circle with a robotic arm?
How can I get a graph diagram of an urdf model in ROS Fuerte? [closed]
How to hold the old points in rviz