|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
Mid-path action fired once when the trajectory passes its resolved time. More...
#include <ramsete.hpp>
Public Attributes | |
| int | atWaypoint = 0 |
| Index of the waypoint to fire on. | |
| std::function< void()> | action |
| Callback invoked when the trigger is reached. | |
Mid-path action fired once when the trajectory passes its resolved time.
atWaypoint is zero-based; for jerryio CSVs it indexes the heading-bearing lines, falling back to raw line index when no heading columns exist. Callback runs on the control thread — slow callbacks delay the next tick.
Definition at line 29 of file ramsete.hpp.
| std::function<void()> light::PathEvent::action |
Callback invoked when the trigger is reached.
Definition at line 31 of file ramsete.hpp.
| int light::PathEvent::atWaypoint = 0 |
Index of the waypoint to fire on.
Definition at line 30 of file ramsete.hpp.