This project serves as the MVP (Minimum Viable Product) 🚀 for generating and maintaining datasets used for training robotic models in openroboticmetaverse.
- Simulation: Developed using the Mujoco physics engine
- Clone the repo:
git clone https://github.com/openroboticmetaverse/mvp_mujoco_simulation.git
- Run container:
cd mvp_mujoco_simulation
docker compose up -d
- Start the Simulation and Save the Dataset:
cd ../
git clone https://github.com/openroboticmetaverse/mvp_dataset_manager.git
cd mvp_dataset_manager
-
Install the following python libraries in a new python virtual environment:
- h5py
- numpy
-
Run the following script to run the simulation and save the results in HDF5 format:
python3 src/data_saver.py
After a short time the script stops, now you should see the message "Data streaming completed!" in the console. The HDF5 dataset for the current training episode will be saved to the current working directory.
.
├── Images
| ├── cam_high # Image (stationary camera)
| └── cam_low # Image (moving camera)
├── qpos # Joint positions
└── qvel # Joint velocities