Matplotlib on actual turtlebots

asked 2021-11-30 04:35:32 -0500

Roshan gravatar image

Hello, I've been using Matplotlib to plot my data by storing variables in lists as the node is running/ the while loop is running, and then plotting these lists with Matplotlib after pressing Ctrl+C/when I stop the node. For example, I have a node that publishes to the /cmd_vel topic, I store the values of what it is publishing in a list, and then when I stop the node I get the plot. This is what I've been doing in simulations, was wondering if Matplotlib would work the same way on actual turtlebots and if anyone has any experience with this.

Thanks in advance

edit retag flag offensive close merge delete

Comments

Hi @Roshan, look at this prior discussion: https://answers.ros.org/question/2647... regarding use of matplotlib.

You can also look into PlotJuggler: https://www.plotjuggler.io/

osilva gravatar image osilva  ( 2021-11-30 10:41:48 -0500 )edit