![]() |
WPILibC++ 2027.0.0-alpha-3
|
Classes | |
| class | ListenerExecutor |
| An executor for running listener tasks posted by Sendable listeners synchronously from the main application thread. More... | |
Functions | |
| template<int States, int Inputs> | |
| Eigen::Matrix< double, States, States > | DARE (const Eigen::Matrix< double, States, States > &A, const Eigen::Matrix< double, States, Inputs > &B, const Eigen::Matrix< double, States, States > &Q, const Eigen::LLT< Eigen::Matrix< double, Inputs, Inputs > > &R_llt) |
| Computes the unique stabilizing solution X to the discrete-time algebraic Riccati equation: | |
| WPILIB_DLLEXPORT int | IncrementAndGetProfiledPIDControllerInstances () |
| constexpr ct_matrix3d | RotationVectorToMatrix (const ct_vector3d &rotation) |
| constexpr Eigen::Matrix3d | RotationVectorToMatrix (const Eigen::Vector3d &rotation) |
| Eigen::Matrix< double, States, States > frc::detail::DARE | ( | const Eigen::Matrix< double, States, States > & | A, |
| const Eigen::Matrix< double, States, Inputs > & | B, | ||
| const Eigen::Matrix< double, States, States > & | Q, | ||
| const Eigen::LLT< Eigen::Matrix< double, Inputs, Inputs > > & | R_llt ) |
Computes the unique stabilizing solution X to the discrete-time algebraic Riccati equation:
AᵀXA − X − AᵀXB(BᵀXB + R)⁻¹BᵀXA + Q = 0
This internal function skips expensive precondition checks for increased performance. The solver may hang if any of the following occur:
Only use this function if you're sure the preconditions are met.
| States | Number of states. |
| Inputs | Number of inputs. |
| A | The system matrix. |
| B | The input matrix. |
| Q | The state cost matrix. |
| R_llt | The LLT decomposition of the input cost matrix. |
| WPILIB_DLLEXPORT int frc::detail::IncrementAndGetProfiledPIDControllerInstances | ( | ) |
|
constexpr |
|
constexpr |