Mechanical design of the motor controller