Motor Control Examples

PID Controller

Arm reaching setpoint with PID controller. PID controller minimises error between user defined setpoint of arm's joint angles and current arm state.


Balancing inverted pendulum with PID Controller. PID controller manipulates rotation of the arm so as to keep the pole vertical.

Jacobian Transpose Control

Bipedal robot doing crunches. Setpoint of torso position is moved up and down following a sine wave. PID controller is then used to generate virtual force applied on torso, that would move it to current setpoint. Jacobian transpose control translates virtual force to set of torque for each joint.