Pre-Autonomous Functions

When exactly are the pre autonomous functions called? Right before the autonomous is run, or immediately after the robot enters the disabled mode?

Thanks :slight_smile:

It depends on what you’re writing in. In PROS, generally, pre-autonomous functions are called in Init.c.

Are you talking about “preauton()”? This is run immediately after the robot is turned on, and never again after.