|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
Functions | |
| void | init (const OdomSensors &sensors) |
| Capture the sensor bundle and detect single-wheel modes. | |
| void | tick () |
| Run all four detectors. | |
| float | imuBiasRadPerSec () |
| bool | singleVertMode () |
| float | singleVertOffset () |
| bool | singleHorizMode () |
| float | singleHorizOffset () |
| bool | slipping () |
| int | wallSnapsThisAuton () |
| void | resetCounters () |
| Reset diagnostic counters at auton start. | |
| float light::sensor_aux::imuBiasRadPerSec | ( | ) |
bias * dt from deltaImu each tick. | void light::sensor_aux::init | ( | const OdomSensors & | sensors | ) |
Capture the sensor bundle and detect single-wheel modes.
| void light::sensor_aux::resetCounters | ( | ) |
Reset diagnostic counters at auton start.
| bool light::sensor_aux::singleHorizMode | ( | ) |
| float light::sensor_aux::singleHorizOffset | ( | ) |
| bool light::sensor_aux::singleVertMode | ( | ) |
| float light::sensor_aux::singleVertOffset | ( | ) |
| bool light::sensor_aux::slipping | ( | ) |
| void light::sensor_aux::tick | ( | ) |
Run all four detectors.
Call from the odom task immediately after light::update().
| int light::sensor_aux::wallSnapsThisAuton | ( | ) |