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

An intermediate value used in the parameterization step. More...

#include <spline.hpp>

Public Member Functions

 ConstrainedState (Pose ipose, double icurvature, double idistance, double imax_vel, double imin_accel, double imax_accel)
 
 ConstrainedState ()=default
 
std::string to_string () const
 

Public Attributes

Pose pose = Pose()
 
double curvature = 0
 
double distance = 0
 
double max_vel = 0
 
double min_accel = 0
 
double max_accel = 0
 

Detailed Description

An intermediate value used in the parameterization step.

Adds the constrained values from the motion profile to the output from the "naive" generation step.

Definition at line 166 of file spline.hpp.

Constructor & Destructor Documentation

◆ ConstrainedState() [1/2]

squiggles::SplineGenerator::ConstrainedState::ConstrainedState ( Pose  ipose,
double  icurvature,
double  idistance,
double  imax_vel,
double  imin_accel,
double  imax_accel 
)
inline

Definition at line 167 of file spline.hpp.

◆ ConstrainedState() [2/2]

squiggles::SplineGenerator::ConstrainedState::ConstrainedState ( )
default

Member Function Documentation

◆ to_string()

std::string squiggles::SplineGenerator::ConstrainedState::to_string ( ) const
inline

Definition at line 189 of file spline.hpp.

Member Data Documentation

◆ curvature

double squiggles::SplineGenerator::ConstrainedState::curvature = 0

Definition at line 183 of file spline.hpp.

◆ distance

double squiggles::SplineGenerator::ConstrainedState::distance = 0

Definition at line 184 of file spline.hpp.

◆ max_accel

double squiggles::SplineGenerator::ConstrainedState::max_accel = 0

Definition at line 187 of file spline.hpp.

◆ max_vel

double squiggles::SplineGenerator::ConstrainedState::max_vel = 0

Definition at line 185 of file spline.hpp.

◆ min_accel

double squiggles::SplineGenerator::ConstrainedState::min_accel = 0

Definition at line 186 of file spline.hpp.

◆ pose

Pose squiggles::SplineGenerator::ConstrainedState::pose = Pose()

Definition at line 182 of file spline.hpp.


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