Run a MuJoCo simulation and stream optionnaly joint angles to the real robot servos. Project includes a simple inverse-kinematics solver and a serial driver for ST3215 servos.
Requires Python 3.10. Install dependancies with :
pip install -r requirements.txtpython main.py --simulationThe project is devided in 3 parts :
- main.py : main program to launch with :
python main.pyor for MacOS :
mjpython main.py-
so101_driver : driver to control ST3215 motors (based on the ST3215 python package)
-
ik.py : hard coded inverse kinematic class using MuJoCo data