LEGO Project MuJoCo simulation framework with data recording.
Works in WSL Ubuntu-20.04, Conda environment with Python 3.10.16
Clone the repository and install dependencies.
Create and activate the Conda environment:
conda env create -f environment.yml
conda activate my_env # Replace 'my_env' with the actual environment nameUse the following command to start the Duplo simulation with GUI enabled for 10 seconds:
python -m src.duplo -n example -t 10 -guiCheck all possible args with:
python -m src.duplo -hSettings can be found in utils/all_args.py.
Mass properties of Duplo can be found in robots/duplo_ballfeet_mjcf/mass_config.yaml. Changes to the file will be loaded automatically when the simulation starts.
Use the following command to start the Duplo simulation with for 10 seconds and record the scene and data to data/videos/example/
python -m src.duplo -n example -t 10 -rResulting videos are the data plot, the scene, and a composite video.