Auton not working in comp

Our robots auton when started from the controller manually works perfectly fine but when connected to the comp brain it doesn’t even move in most matches or stops in the middle. We use pros for programming.

Is the code set to the competition layout with the when autonomous command.

I assume you do not have one of the black comp switches or a spare brain you can flash the field control program too? Go ahead and post your code so we can see if you used the competition template correctly.

did you set it to when start or when auton that might be the problem but overall can you share a screen shot of your code to help narrow down what the problem is.