In the programming we get an error in “usercontrol” that comes at the end of the whole program, for some reason. We’ve already asked other teams in the squad and no one gives us a solution.
int main() {
// Set up callbacks for autonomous and driver control periods.
Competition.autonomous(autonomous);
Competition.drivercontrol(usercontrol);
// Run the pre-autonomous function.
pre_auton();
// Prevent main from exiting with an infinite loop.
while (true) {
wait(100, msec);
}
}
Where it says “Competition.drivercontrol(usercontrol);” that’s where it marks the error