This program solves the problem caused by the lack of a differential on the robot, which makes its turns slower and wider.
The program reads the relative angle of the front motor, which is used for steering, and adjusts the speeds of the back motors—making one rotate faster and the other slower. This allows the robot to turn much more quickly and smoothly.
The program requires someone to manually turn the steering motor, so feel free to experiment with different turning angles and push the limits of the robot!
Make sure the markings on the moving and non-moving parts of the front motor are aligned, as this is an essential part of how the program functions.