Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Download video data from robot camera

Hello everyone,

I have collected sensor data from my parot uav model with the following commands

roscore

rostopic list

rosbag record -O subset /drone/imu

rostopic echo -b subset.bag -p /drone/imu > data.csv

When I tried the same method to download camera data as video or image sets, the downlodaded file can not be opened

rosbag record -O subset /drone/front_camera/image_raw/compressed

rostopic echo -b subset.bag -p /drone/front_camera/image_raw/compressed > data.mp4

What can be the reason for that? The image_raw files are being recorded as a .bag file, but I can't download and see it in my computer. Am I making a mistake with the video or image format I am trying to download?