Robot not moving after autonomous

After autonomous, my robot won’t run drive code. It works when I reopen the program, however straight after auton, the robot won’t move or respond to any commands.

You need use joysticks on the controller to control your robot after autonomous. If you configure your robot correctly, the controller should be able to make your robot move.

What is your code?