Autonomous Not Running (VSCode 2020)

We are trying to test our automonous code, but it isn’t working. The code was building but isn’t doing anything to the robot. It’s supposed to run forward for x amount of seconds and then backward for y amount of seconds. The robot turns on but remains stationary. Could you please check over our code?

Here’s the git hub link:

Rookie programmers from Robodox 599

Looking through the code, I see a giant red flag

Why has main() changed from the default? The amount of code you have there is not going to work at all, and is going to cause the robot to be initialized in a half initialized state. That is really something you should never be changing.

Okay thanks for the help! We will look into it.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.