Skip to content

sikang/bag_plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published