How to Code Autonomous Program (Vex IQ)

My team has tried to code our robot to run autonomously in the Rapid Relay Skills matches. However, the robot will not drive straight, thus making it a struggle to line up a shot. Does anybody know how to fix this?

Could you post a picture of your code? it’s hard to tell what to fix if we can’t see the code.

2 Likes

Try making a PID code.

1 Like

I am writing a post on heading correction while moving forward this weekend. I hope to be done by Monday. If you would like a draft, let me know where to send it.

1 Like

Can you share the draft please?

dunno, but i think their is plenty of resource on github

Correcting Drift with a PID process control - VEX IQ General Discussion - VEX Forum

1 Like