赞
踩
项目地址:
GitHub - cabinx/ros2_bag_to_image: Opens, reads, extracts and saves sensor_msgs/msg/Image or sensor_msgs/msg/CompressedImages from Ros2 bag, works on ros2 foxy.
做数据集需要从ros2的数据包中提取图片,在github找到了开源的项目:
GitHub - MapIV/ros2_bag_to_image: Set of nodes to convert either online of offline image messages to image files
但是其是在ros2 rolling版本上的,而我的环境是ubuntu20.04,只能装ros2 foxy。故在开源版本基础上稍作修改。具体用法详见github项目介绍。