Pros where do these functions initialize(), autonomous() get called from?

We are just starting with this. Any changes in autonomous.cpp are not taking effect and trying to understand if there is any thing like main() similar to C code that needs to be included? Or how to debug this. Appreciate any pointers.

1 Like

They get called by PROS competition daemon. What do you mean “Any changes in autonomous.cpp are not taking effect”? Describe expected result alongside what actually happened. Fwiw, you need to use a competition switch/use the controller’s “programming skills” mode in order to run autonomous.


They will be called from a competition control template, init runs at the start, auton runs when the competition controller/ field switch is in auton state and op control when the switch is at op control. There is also disabled and competition-initialize