-
I currently use the JAR template for all of my codes, and I have come across a problem with the inertial calibration. First when is the “pre-auton?” I am unsure if this is a) before I plug my controller into the field, b) once I have plugged it in, c) during the count down, or d) perhaps none of the above.
-
I assumed it was before I plugged it in, so I would set my robot up, then run the program, give it 5-10 secs, then plug it into the field. But the robot still becomes inconsistent, despite having the “Inertial.calibrate” command in my pre-auton. Is there something I am missing, or does it have to do with the fact that sometimes when I plug my robot into the field, it will say “Radio disconnected” for 2 seconds, then reset my program once fully connected to the field.
-
If this is the problem, is there some way to go around it, because once I have plugged it in, I have no control over if my radio will do the weird disconnection thing again.
Thank you