|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
Minimal alternative to AutonSelector: name + function only, no banner / preview / PID panel. More...
Go to the source code of this file.
Classes | |
| struct | CustomAuton |
| A bare-bones registered auton: just a name and a callback. More... | |
Functions | |
| void | display_splash (const char *mode) |
| Render a splash banner showing the active mode. | |
| void | custom_selector_add (const std::string &name, std::function< void()> fn) |
| Append a routine to the custom selector. | |
| void | custom_selector_init () |
| Build the custom selector UI. | |
| int | custom_selector_get () |
| void | custom_selector_run () |
Invoke the currently selected custom auton (call from autonomous()). | |
Minimal alternative to AutonSelector: name + function only, no banner / preview / PID panel.
Useful for projects that ship their own picker UI but still want a registry.
Definition in file custom_selector.hpp.
| void custom_selector_add | ( | const std::string & | name, |
| std::function< void()> | fn | ||
| ) |
Append a routine to the custom selector.
| name | display name |
| fn | routine to invoke when selected |
| int custom_selector_get | ( | ) |
| void custom_selector_init | ( | ) |
Build the custom selector UI.
Call once in initialize().
| void custom_selector_run | ( | ) |
Invoke the currently selected custom auton (call from autonomous()).
| void display_splash | ( | const char * | mode | ) |
Render a splash banner showing the active mode.
| mode | short mode string (e.g. "AUTON", "OPCONTROL") |