makeecat / bag_plot

A simple ROS bag plot tool of python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bag Plot

A python script for plotting ros bag file, replacement of rxbag for ros version higher than groovy

Basic use instruction:

On terminal:

$rosrun bag_plot read_bag.py /path/to/bag/xxx.bag

On GUI:

  • Check topics to select corresponding msg
  • Check variables to select values to plot
  • Click Load to plot, the first time for load will take a while
  • Click Clear to reset figure params
  • Click Save Figure to save current plot as plot.png in the current folder

Examples:

GUI Saved plot.png

Basic feature list:

  • Right click on plot to draw a vertical line
  • Drag any subplot in x to move all subplots in x dimension
  • Drag any subplot in y to move that subplot in y dimension
  • Scroll up/down to scale in x dimension
  • Shift + Scroll up/down to scale in y dimension

Msgs supported:

  • nav_msgs/Odometry
  • sensor_msgs/Imu
  • geometry_msgs/PoseStamped
  • geometry_msgs/PoseWithCovarianceStamped
  • sensor_msgs/Range
  • quadrotor_msgs/PositionCommand
  • quadrotor_msgs/TRPYCommand
  • quadrotor_msgs/SO3Command

About

A simple ROS bag plot tool of python

License:Apache License 2.0


Languages

Language:Python 98.6%Language:CMake 1.4%