Run Model in Driver Control Mode or Autonomous Mode
Use the Simulink® Coder™ Support Package for ARM® Cortex-based VEX® Microcontroller library blocks to create models to build robots for the BEST Robotics and the VEX Robotics competitions.
You can run your model in driver control mode or in the autonomous mode. In driver control mode, use a Gamepad to control the robot and in the autonomous mode, use sensors such as potentiometer to drive the motors or the servos. The BEST Robotics competition features only the driver control mode while the VEX Robotics competition features both driver control mode and the autonomous mode.
The Competition Switch block from the Simulink Coder Support Package for ARM Cortex-based VEX Microcontroller library supports creating models for the VEX Robotics competition.
Using this block, you can:
Enable or disable the robots connected to the switch
Switch between the driver control mode and the autonomous mode
See Competition Switch for more information.