通过查阅很多资料,这里对ROS中的画图工具(或者称为:日志分析工具)作一个总结。
rxplot
官方介绍:http://wiki.ros.org/rxplot
Since Groovy, rxplot becomes DEPRECATED and is succeeded by rqt_plot.
说明的是rxplot被rqt_plot替代了。
rqt_plot
官方介绍:http://wiki.ros.org/rqt_plot
rqt_plot provides a GUI plugin visualizing numeric values in a 2D plot using different plotting backends.
rqt_plot提供了一个GUI插件,使用不同的绘图后端在2D图中显示数值。
PlotJuggler
介绍:https://github.com/facontidavide/PlotJuggler
PlotJuggler is meant to be a better alternative to rqtplot and rqtbag, providing a more user friendly interface.
PlotJuggler旨在成为rqtplot和rqtbag的更好替代品,提供更友好的用户界面。
Matlab
另外一个方法就是,借助Matlab中进行画图,这种方式更适合搞研究,做仿真。
官方相关:Work with rosbag Logfiles, Control LBR Manipulator Motion Through Joint Torque Commands
MATLAB® can read these rosbag files and help with filtering and extracting message data.
关于更多 ROS + Matlab 相关教程,参看:Robotics System Toolbox Examples