With this example the position control of the motor can be
verified.
The weigth of the links when the centroid is outside the motor or
transmition axis generates disturbances that sometimes reduce the
precision of the control loop.
If those disturbances are relatively small the proportional control
P can be used otherwise a PI or PID control is preferred.