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