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

Single 2-D waypoint with optional heading and per-point speed cap. More...

#include <spline.hpp>

Public Attributes

float x = 0.0f
 X position, inches.
 
float y = 0.0f
 Y position, inches.
 
std::optional< float > headingRad
 If absent, tangent taken from adjacent chord.
 
std::optional< float > speed
 Optional per-waypoint speed cap (not used yet).
 

Detailed Description

Single 2-D waypoint with optional heading and per-point speed cap.

Definition at line 25 of file spline.hpp.

Member Data Documentation

◆ headingRad

std::optional<float> light::Waypoint::headingRad

If absent, tangent taken from adjacent chord.

Definition at line 28 of file spline.hpp.

◆ speed

std::optional<float> light::Waypoint::speed

Optional per-waypoint speed cap (not used yet).

Definition at line 29 of file spline.hpp.

◆ x

float light::Waypoint::x = 0.0f

X position, inches.

Definition at line 26 of file spline.hpp.

◆ y

float light::Waypoint::y = 0.0f

Y position, inches.

Definition at line 27 of file spline.hpp.


The documentation for this struct was generated from the following file: