|
HoloLib
High-performance holonomic (X-Drive) control library for VEX V5
|
#include "api.h"Go to the source code of this file.
Macros | |
| #define | PROS_USE_SIMPLE_NAMES |
| #define | PROS_USE_LITERALS |
Functions | |
| void | simulation (void) |
| Entry point for the simulation environment. | |
| void | autonomous (void) |
| Autonomous phase entry point. | |
| void | initialize (void) |
| Initialization phase entry point. | |
| void | disabled (void) |
| Disabled phase entry point. | |
| void | competition_initialize (void) |
| Competition initialization phase entry point. | |
| void | opcontrol (void) |
| Operator control phase entry point. | |
| void simulation | ( | void | ) |
Entry point for the simulation environment.
Executed via Python tools/sim_auton.py. Use this to simulate paths visually prior to testing on the actual robot.
| void autonomous | ( | void | ) |
Autonomous phase entry point.
Runs the robot's autonomous code. This is executed once during the autonomous period of a competition.
| void initialize | ( | void | ) |
Initialization phase entry point.
Runs immediately upon startup. Used for sensor calibration, device initialization, etc.
| void disabled | ( | void | ) |
Disabled phase entry point.
Runs when the robot is disabled (either by competition switch or field control). Useful to ensure motors are stopped safely.
| void competition_initialize | ( | void | ) |
Competition initialization phase entry point.
Runs after initialize(), before autonomous or opcontrol phases, but only if connected to a competition switch.
| void opcontrol | ( | void | ) |
Operator control phase entry point.
Runs the robot's driver control code. Contains the main loop that reads joystick values and updates the drivetrain and subsystems.