WPILibC++ 2024.3.2
frc::TrapezoidProfile< Distance >::Constraints Class Reference

Profile constraints. More...

#include <frc/trajectory/TrapezoidProfile.h>

Public Member Functions

 Constraints ()
 Default constructor. More...
 
 Constraints (Velocity_t maxVelocity, Acceleration_t maxAcceleration)
 Constructs constraints for a Trapezoid Profile. More...
 

Public Attributes

Velocity_t maxVelocity {0}
 Maximum velocity. More...
 
Acceleration_t maxAcceleration {0}
 Maximum acceleration. More...
 

Detailed Description

template<class Distance>
class frc::TrapezoidProfile< Distance >::Constraints

Profile constraints.

Constructor & Destructor Documentation

◆ Constraints() [1/2]

template<class Distance >
frc::TrapezoidProfile< Distance >::Constraints::Constraints ( )
inline

Default constructor.

◆ Constraints() [2/2]

template<class Distance >
frc::TrapezoidProfile< Distance >::Constraints::Constraints ( Velocity_t  maxVelocity,
Acceleration_t  maxAcceleration 
)
inline

Constructs constraints for a Trapezoid Profile.

Parameters
maxVelocityMaximum velocity.
maxAccelerationMaximum acceleration.

Member Data Documentation

◆ maxAcceleration

template<class Distance >
Acceleration_t frc::TrapezoidProfile< Distance >::Constraints::maxAcceleration {0}

Maximum acceleration.

◆ maxVelocity

template<class Distance >
Velocity_t frc::TrapezoidProfile< Distance >::Constraints::maxVelocity {0}

Maximum velocity.


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