During the competition how will our robot know when to change driving modes

How do all the robots synchronize to start at the same time during autonomous and driver control periods. Do I need to code something to get it to work in the competition?

You will need to use a competition template which responds to field controller (either VEXNet or V5 Smart Field Control) which will signal if your robot is in a disabled state or enabled (meaning robot is standby mode or not). When enabled, your robot will be signaled to run either autonomous or driver mode.

VEXcode V5 Blocks makes this simple - have a “when started” block to initialize your settings, have “when autonomous” to execute steps in autonomous period, and “when driver” to execute functions you need in head to head matches with human intervention.

You will find a lot of resources about V5 by VEX Robotics here:

Follow the directions in one of these articles depending on what you use for programming your robot:

2 Likes

Python Programming for VEX V5 | Comprehensive Guide & Documentation — VEXcode Documentation
Navigate to what language you use and then scroll to find whatever you need. (In this case, that would be “Competition” for Python and “competition” for C++.)