LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
auton_selector.hpp File Reference

On-brain auton picker with PID and odom side panels. More...

#include <functional>
#include <string>
#include <vector>
#include "light/lvgl.h"

Go to the source code of this file.

Classes

struct  light::Auton
 One registered autonomous routine. More...
 
class  light::AutonSelector
 On-brain auton picker UI. More...
 

Namespaces

namespace  light
 Public LightLib odometry / pose-estimation API.
 

Functions

void register_autons ()
 Defined in src/auton_config.cpp.
 

Variables

AutonSelector light::auton_selector
 Process-wide singleton selector instance.
 

Detailed Description

On-brain auton picker with PID and odom side panels.

AutonSelector is the default LightLib brain-screen UI. Register routines with add(), show the screen via show(), and call run() from the autonomous task to invoke the selected routine.

Definition in file auton_selector.hpp.

Function Documentation

◆ register_autons()

void register_autons ( )

Defined in src/auton_config.cpp.

Called once at the top of initialize() to populate the on-brain selector with the user's autonomous routines.