I was creating a drive function for my team’s robot and when it tries to drive the while(1) loop immediately breaks. Is there a way that I could fix this?
P.S: I know I’m using Pascal Case and the names for parameters aren’t the greatest, but don’t complain about those, I like those features
What is it printing to the screen?
I fixed it, no need to reply now. If you look at the loop, you see it acts like “dx.” dx is close to zero, and the closer to zero, the more accurate it is. The issue is vexcode v5 pro only updates encoders every so often, and 5 and 10 milliseconds were to small of a dx for vexcode to properly update.
Is is printing debug text so I know when something happens. I solved the problem by increasing the wait to 20 milliseconds