0

Help me to create rosbag file using usb camera which provide camera images as sensor_msgs/CompressedImage and odometry as nav_msgs/Odometry.

1 Answers1

0

You can try this package for usb camera.If you want to use cv_bridge to publish the camera data to a topic use this link.

for example if you have published the data in /camera/data topic

you can record the rosbag using following command

rosbag record /camera/data
Raushan Kumar
  • 324
  • 2
  • 5