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

1

There are 1 answers

0
Raushan Kumar On

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