Autonomous Help

So I have an autonomous code that is coming through with no errors when I compile it, but it isn’t running on the robot. We’re a first year team so I don’t have any experience with this in the past. Does anyone have any suggestions?

Is your robot running driver control code instead or what’s it doing? Are you using the competition template and a competition switch?

If the bot is still plugged into the computer, the program doesn’t run any motors. To test autonomous or driver, you will have to unplug from the computer and use a competition switch.

What’s the code? If possible, attach a copy of the code, that would explain everything that’s going on.