Convert rosbag / mcap to lerobot
- If you run the script locally, temporary lerobot datasets before merging will be stored at /tmp
- source Ros2 Humble setup.bash
- conda env with python3.10
- pip install dependencies below:
pip install git+https://github.com/OpenGalaxea/GalaxeaLeRobot.git
pip install loguru pyquaternion scipy- build hdas_msg
colcon build --packages-select hdas_msgEdit dataset_name, input_dir, output_dir and robot_type in run.sh, then
# build hdas_msg before source
source install/setup.bash
bash run.sh