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

Simple wall-clock helpers anchored at the start of the autonomous routine. More...

#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  light
 Public LightLib odometry / pose-estimation API.
 

Functions

uint32_t light::auton_elapsed ()
 
void light::wait_until_auton (uint32_t ms)
 Block until ms milliseconds have elapsed since auton started.
 

Variables

uint32_t light::auton_start_ms
 Millisecond timestamp captured right before the selected auton routine runs.
 

Detailed Description

Simple wall-clock helpers anchored at the start of the autonomous routine.

Useful for time-budgeting auton sequences.

Definition in file auton_timer.hpp.