Quote:
Originally Posted by grosh
Ben Zimmer stated that timed waits can slow down your code.
|
That is correct!
You do not want to place a wait inside your telop loop because it will slow down you loop by the amount of the wait. The code in your telop loop needs to get what it has to do fast and loop back around or your robot will not respond to joystick commands or other inputs.
If you have a wait for 2sec while your motor spins then for that 2 sec your joysticks will seem to be DEAD!
Ben Zimmer addresses this with his example of a stop time.