Quote:
Originally Posted by Arhowk
don't double post, use the edit button.
for distance, i usually go with doubles for most things so I don't accidentally mess data up with division.
don't know what the second thing you asked is in reference to. If it's the closed loop, than just do a Timer.delay(0.02) (20ms, standard 50hz operating cycle) inside the while(true) loop
|
Alright I added in some delays inside the while(true) loop. I just put the delay as the first line in the loop I don't know if it matters.
https://github.com/curtis0gj/5033-20...ster/Auto.java