Robotc commands list driver#
Driver control runs on a loop until the robot is powered off and accepts commands from the driver and operator via joystick. The logic behind these instructions can vary from a simple linear set of commands to complex branching decision logic. Autonomous runs once, executing a series of commands allowing the robot t follow a preset list of instructions. Pre-autonomous runs once before startup and is used to configure user variables for instance, if you have a global variable and you want to decide its value at the very beginning you should do so in pre-autonomous. Commands to the robot go inside these functions. VirtualVEX has these tasks predefined in the program template (as of Alpha 4, only driver control is available). ROBOTC programs are generally split into 3 functions or tasks: pre-autonomous, autonomous, and driver control. This is not an appropriate resource for those wishing to adopt ROBOTC full-time for their physical VEX robot the best guide to learning ROBOTC can be found at the official website ( Furthermore, since ROBOTC is based off the C programming language, a rudimentary knowledge of C is required. This is intended for teams that do not program in ROBOTC (since some teams use Eas圜) but still want to customize the drive controls of the virtual robot. This section covers some basic concepts of the ROBOTC API.