From P20 onwards, our robots have used PID controllers to control the speed of the drive motors. Code in the Raspberry Pi decides a target speed for each motor. The motors are fitted with encoders which report the actual speed of rotation. It’s the PID algorithm’s job to set the power to the motor toContinue reading “PID Tuning”