This control software was implemented in a 3D game engine, Unity. It model's a linear motion of both the throttle and brake pedals with v = stuff
The implementation is based off this model differential equation:
An iterative solution was formed based off the above equation:
Space
to apply the throttle.
B
to apply the brakes.