45 std::vector<TrajState>
pts;
73 bool reversed =
false);
Quintic Hermite spline over 2-D waypoints.
Time-parameterized trajectory: dense state table + total duration.
TrajState sample(float t) const
Sample the trajectory at time t.
std::vector< TrajState > pts
10 ms-spaced trajectory states.
float duration
Total trajectory length in seconds.
Public LightLib odometry / pose-estimation API.
Trajectory generateTrajectory(const std::vector< Waypoint > &wps, const TrajConstraints &cons, bool reversed=false)
Generate a time-parameterized trajectory from waypoints.
Kinematic limits used by the trajectory generator.
float aMax
Max forward accel, in/s².
float vMax
Max linear speed, in/s.
float aLatMax
Max lateral (centripetal) accel, in/s².
float aDecMax
Max decel, in/s² (split so downshift-heavy).
One sample of a time-parameterized trajectory.
float y
Y position, inches.
float v
Linear speed, in/s (signed if reversed).
float kappa
Curvature, 1/in (signed, CW-positive).
float a
Linear accel, in/s² (signed).
float t
Time from start, seconds.
float theta
Heading, radians (LightLib convention).
float x
X position, inches.
float omega
Angular velocity, rad/s (v·κ, sign-matched).