Skip to content

Commit

Permalink
Update rosbag notes
Browse files Browse the repository at this point in the history
  • Loading branch information
methylDragon committed Aug 8, 2018
1 parent fb777b8 commit e648491
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 01 - ROS and Sensor Fusion Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -1066,8 +1066,8 @@ $ rosbag play --clock <bag_file_dir> # This publishes the clock time
$ rosbag filter <bag_file> <output_bag_file> "<some python expression>"
# For example...
$ rosbag filter my.bag only-tf.bag "topic == '/tf'"
$ rosbag filter my.bag only-tf.bag "topic == '/tf' and topic == '/scan'"
$ rosbag filter my.bag only_tf.bag "topic == '/tf'"
$ rosbag filter my.bag only_tf_and_scan.bag "topic == '/tf' and topic == '/scan'"
# It can take the following
# topic: The msg topic
Expand All @@ -1077,6 +1077,8 @@ $ rosbag filter my.bag only-tf.bag "topic == '/tf' and topic == '/scan'"

If you're in doubt, just use the -h or --help flag for usage!

You can also use `$ rosrun rqt_bag rqt_bag` for a [GUI interface](http://wiki.ros.org/rqt_bag)!



Ok! Now that we're done with this learning, we can actually go try applying this to an actual case study! See you in the next part!
Expand Down

0 comments on commit e648491

Please sign in to comment.