|
Re: Jittery Autonomous Code {Java}
I have a thought.
Your while() loop is running as fast as it can, with no pauses. It might be starving the communication task, which could result in the hardware occasionally shutting down the motor outputs due to a lack of communication. Put a short wait (ten milliseconds might be good) inside the loop and see if that helps.
|