WPILibC++ 2024.3.2
|
Profile constraints. More...
#include <frc/trajectory/ExponentialProfile.h>
Public Member Functions | |
Constraints (Input_t maxInput, A_t A, B_t B) | |
Constructs constraints for an ExponentialProfile. More... | |
Constraints (Input_t maxInput, kV_t kV, kA_t kA) | |
Constructs constraints for an ExponentialProfile from characteristics. More... | |
Velocity_t | MaxVelocity () const |
Computes the max achievable velocity for an Exponential Profile. More... | |
Public Attributes | |
Input_t | maxInput {0} |
Maximum unsigned input voltage. More... | |
A_t | A {0} |
The State-Space 1x1 system matrix. More... | |
B_t | B {0} |
The State-Space 1x1 input matrix. More... | |
Profile constraints.
|
inline |
Constructs constraints for an ExponentialProfile.
maxInput | maximum unsigned input voltage |
A | The State-Space 1x1 system matrix. |
B | The State-Space 1x1 input matrix. |
|
inline |
Constructs constraints for an ExponentialProfile from characteristics.
maxInput | maximum unsigned input voltage |
kV | The velocity gain. |
kA | The acceleration gain. |
|
inline |
Computes the max achievable velocity for an Exponential Profile.
A_t frc::ExponentialProfile< Distance, Input >::Constraints::A {0} |
The State-Space 1x1 system matrix.
B_t frc::ExponentialProfile< Distance, Input >::Constraints::B {0} |
The State-Space 1x1 input matrix.
Input_t frc::ExponentialProfile< Distance, Input >::Constraints::maxInput {0} |
Maximum unsigned input voltage.