-
Python 3.8+
- Download from python.org
- Make sure to check "Add Python to PATH" during installation
-
Git
- Download from git-scm.com
git clone <your-repo-url>
cd my_ros2_project/genchip_replicationpython -m venv mujoco_env
mujoco_env\Scripts\activatepip install -r requirements.txtpython scripts/run_mujoco_genchip.py --headlessNote: On Windows, use regular Python (not mjpython):
python scripts/run_mujoco_genchip.pyIf you get MuJoCo errors, try:
pip install --upgrade mujoco- Make sure you have OpenGL support
- Update your graphics drivers
- Try headless mode first to verify the simulation works
genchip_replication/
├── envs/ # MuJoCo environment XML files
│ └── simple_cartesian_robot.xml
├── scripts/ # Python scripts
│ ├── run_mujoco_genchip.py # Main simulation
│ └── mujoco_genchip_controller.py
├── docs/ # Documentation
├── outputs/ # Generated plots
└── requirements.txt # Python dependencies
The simulation will show:
- Phase 1: Peg descends until contact
- Phase 2: Searches laterally for hole
- Phase 3: Inserts into hole
Force plots are saved to outputs/mujoco_genchip_comparison.png