arplaboratory / ros2bag_fixer

0 stars 0 forks source link

Need help extracting image type data #1

Open yipengzhu0809 opened 2 months ago

yipengzhu0809 commented 2 months ago

Thanks for your contribution!

I wonder how can I extract the data from the CSV file if it is images?

I've tried the method you suggested, but extracting the image format is taking a very long time. Do you have any better solutions? Thanks.

Jm7752 commented 2 weeks ago

Sorry I don't have a better solution available at this is raw data. In the future I would recommend using as the recovery mechanism is much easier.

Record

ros2 bag record -s mcap

Recovery

chmod +x mcap-linux-amd64
./mcap-linux-amd64 recover in.mcap -o out.mcap

Mcap files can be read directly from foxglove studios. You can try to use foxglove studios after recovering mcap to directly read the file

https://foxglove.dev/download