logo Mr.Robota 具身智能学习手册
Chapter 2: 02 Robot Basics Control And Hand Eye Coordination

Running Environment

shell$ mamba create -n ai-hardware python=3.8
$ mamba activate ai-hardware
$ pip install setuptools==65.5.0 pip==21 wheel==0.38.0
$ pip install gym==0.21.0
$ pip install matplotlib==3.7.5
$ pip install pyglet==1.4.0
$ pip install scipy==1.10.1
$ pip install casadi==3.7.2

PID Algorithm

shell$ python cartpole-PID.py

MPC Algorithm

shell$ python cartpole_MPC.py

LQR Algorithm

shell$ python cartpole-LQR.py