This is part of my autonomous code.
When I try to turn right 90 degrees (See image) My bot moves back and forth 4 times and then once done turning, it is at about 100 degrees at least. Does anyone have any idea what this is?
When your robot turns back and forth, it is probably trying to correct its turn. Sometimes, VEXcode can be inaccurate. For a more consistent kind of code, maybe try some basic PID, and then slowly start learning more about it until you can create an entire auton based off PID. It would also help to see a video of the robot moving, if you are able to take one.
P.S. turning your lift velocity to 200% doesn’t do anything. The max you can set it to is 100%.
What is PID? (20 characters)
This is the code in action
Never mind, I figured it out. The brain inertial was trying to correct for motor inaccuracies.