Autonomous Issues at VEX Worlds Championship!

Hey everyone,

I’m currently competing at the VEX Worlds Championship and encountering a problem with my autonomous routine. It’s puzzling – it works perfectly during practice rounds, but once we’re in the competition, every turn seems off. I suspect it might have something to do with how I calibrated the inertial sensor.

Typically, I calibrate the sensor at the start and then run it in the main program. But here’s the catch: I’ve only used the competition switch on practice fields. Has anyone else faced this issue? Should I try calibrating the sensor directly in the autonomous routine, even if it means losing a few seconds?

Any advice or shared experiences would be greatly appreciated!

It’s too late now, but you should be calibrating your Inertial sensor during pre-auto.

On our brain’s auto selector GUI we added a “calibrate” button that will trigger a calibration.

After you start the program do you move the robot at all?

If I understand the issue correctly, it can be solved by force waiting your code for 2 second at the beginning of pre-auton. To test in comp mode I would run the field control program on a bad brain.

No, I make sure I don’t move it at all after running the code, I know that it will cause problems.

That’s exactly what I’m doing, I’m calibrating the inertial in pre_auton and I run pre_auton() in main, but for some reason this doesn’t work in the competition.
Or maybe the problem is something else.

I have this in my pre_auton:

Inertial.calibrate();
// waits for the Inertial Sensor to calibrate
while (Inertial.isCalibrating()) {
wait(100, msec);

Is it not enough?
I have more games tomorrow morning I might just calibrate in autonomous and hope it works this time.

Make sure you aren’t moving the robot while the inertial is calibrating, which messes up calibration. Try turning on the program with the controller after you already set up the robot, so it will calibrate while sitting still.

It’s possible that the inertial hasn’t finished calibrating when auton starts, so try adding

while (Inertial.isCalibrating()) {
wait(100, msec);
}

to the start of autonomous.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.