I have been working on a project about simulating a vehicle and a race track digitally, and so far I have gotten the gas, brakes, and the steering working. I am having severe trouble implementing the actual track into the program.
I tried using delays to somehow simulate it. By “simulating” I mean having the user lower their speed and steer to the correct direction when facing a corner for example, if they don’t, they should crash. The straights should also be a opportunity for the user to up their speed. Delays only slow down the other functions in the loop. Please help.
c2.ino (4.39 KB)