Vex Coding Problem

When running my code for skills auton. It will run the code perfectly fine up until a certain point in which it will stop running the code, and will not move on to the next block. Does anyone have any suggestions for debugging?

And with my coding, when turning, let’s say I want to turn 90 degrees to the right, it will turn to that point but it will start “wiggling” left and right before heading straight. Could this be a problem with my interial sensor?

Are you using PID or anything like it? Can you post the area where the code stops working? What programing language are you using?

I am not using PID at all, I’m not exactly sure how to. I am using just the simple block code. The code will stop right after the drive forward for 24 inches, and will not move unto the turn to heading 315 degrees.

Did you try removing the “turn to heading 315 degrees” so it goes straight to the next one the “turn to heading 315 degrees” might be the problem? Also check if your running out of time, or if it thinks your running out of time because of the template your using. It would also be helpful if you specify what Vex Program this is for, like Vex IQ or Vex V5.

Okay thank you I will double check all of that. And I am using the V5 version

Is there a repeat something forever? Because then your code will not work until you remove that bit.

No I don’t have any repeats at all

I am unsure of how to help you then. My team’s autonomous was not working so I tried that and then the code worked again.