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

One segment of a quintic Hermite spline. More...

#include <spline.hpp>

Public Member Functions

SplineSample eval (float u) const
 Evaluate the segment at parameter u.
 

Public Attributes

float p0x
 
float p0y
 
float v0x
 
float v0y
 
float a0x
 
float a0y
 Start position, velocity, acceleration.
 
float p1x
 
float p1y
 
float v1x
 
float v1y
 
float a1x
 
float a1y
 End position, velocity, acceleration.
 

Detailed Description

One segment of a quintic Hermite spline.

Definition at line 40 of file spline.hpp.

Member Function Documentation

◆ eval()

SplineSample light::HermiteSegment::eval ( float  u) const

Evaluate the segment at parameter u.

Parameters
unormalized parameter, 0..1
Returns
SplineSample at that point

Member Data Documentation

◆ a0x

float light::HermiteSegment::a0x

Definition at line 41 of file spline.hpp.

◆ a0y

float light::HermiteSegment::a0y

Start position, velocity, acceleration.

Definition at line 41 of file spline.hpp.

◆ a1x

float light::HermiteSegment::a1x

Definition at line 42 of file spline.hpp.

◆ a1y

float light::HermiteSegment::a1y

End position, velocity, acceleration.

Definition at line 42 of file spline.hpp.

◆ p0x

float light::HermiteSegment::p0x

Definition at line 41 of file spline.hpp.

◆ p0y

float light::HermiteSegment::p0y

Definition at line 41 of file spline.hpp.

◆ p1x

float light::HermiteSegment::p1x

Definition at line 42 of file spline.hpp.

◆ p1y

float light::HermiteSegment::p1y

Definition at line 42 of file spline.hpp.

◆ v0x

float light::HermiteSegment::v0x

Definition at line 41 of file spline.hpp.

◆ v0y

float light::HermiteSegment::v0y

Definition at line 41 of file spline.hpp.

◆ v1x

float light::HermiteSegment::v1x

Definition at line 42 of file spline.hpp.

◆ v1y

float light::HermiteSegment::v1y

Definition at line 42 of file spline.hpp.


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