Our team's robot has this issue that I haven't been able to figure out. At the beginning of teleop, we consistently have to wait around five seconds for the robot to start responding to user input. I've looked over my code multiple times, looked online for solutions, and I'm not sure what is causing it. I think it might be caused by the initialization of multiple threads, but similar code was implemented last season without this problem.
I use the SampleRobot template for extensive control over operation.
Here's a link to it on Github:
https://github.com/CorruptedArk/MTR-...team1528/robot
Robot is the main class, and we've been using autonomous0() for autonomous and teleOpLoop0() for teleop.
Any insight on what could be causing this would be greatly appreciated.