My program is spinning in endless circles instead of driving in an arc. It has always worked until now. I have a tournament very soon.
Please post your code?
And format it please. We can help you if we can better understand your problem. Thanks!
It is in Vexcode Blocks.
Here’s a screenshot:
It’s the top third pink block under the “when started” block.
Never mind, someone (@Noah10851B) figured it out. It’s the while loop in the function. I did not realize that it was out of place for some reason.
Never put urgent in a title. Everyone’s code help is urgent.
Okay, now I have another problem…
Instead of turning right and going forwards in one block, the robot is trying to go forwards with oscillations.
Edit: I changed the gyro sensor, and it works now. The moments of realization are so exciting.
This may be because your p value is too large. High P values should cause ocsilliations.