When we use the competition switch and go from autonomous → driver, opcontrol isn’t called when we use lemlib. If we don’t though it calls opcontrol just fine. But if we go from drive → autonomous, it works just fine. Our team has a feeling it has something to do with lemlib but we are not sure.
Also we have a separate .cpp file for auton.