![]() |
WPILibC++ 2025.3.2
|
Classes | |
| class | ListenerExecutor |
| An executor for running listener tasks posted by Sendable listeners synchronously from the main application thread. More... | |
| class | RecordingController |
| class | ShuffleboardInstance |
Functions | |
| std::shared_ptr< SendableCameraWrapper > & | GetSendableCameraWrapper (std::string_view cameraName) |
| void | AddToSendableRegistry (wpi::Sendable *sendable, std::string_view name) |
| constexpr ct_matrix3d | RotationVectorToMatrix (const ct_vector3d &rotation) |
| Applies the hat operator to a rotation vector. | |
| constexpr Eigen::Matrix3d | RotationVectorToMatrix (const Eigen::Vector3d &rotation) |
| Applies the hat operator to a rotation vector. | |
| const char * | GetStringForWidgetType (BuiltInWidgets type) |
| 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 () |
Variables | |
| constexpr const char * | kProtocol = "camera_server://" |
| void frc::detail::AddToSendableRegistry | ( | wpi::Sendable * | sendable, |
| std::string_view | name ) |
| 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. |
| std::shared_ptr< SendableCameraWrapper > & frc::detail::GetSendableCameraWrapper | ( | std::string_view | cameraName | ) |
| const char * frc::detail::GetStringForWidgetType | ( | BuiltInWidgets | type | ) |
| WPILIB_DLLEXPORT int frc::detail::IncrementAndGetProfiledPIDControllerInstances | ( | ) |
|
constexpr |
Applies the hat operator to a rotation vector.
It takes a rotation vector and returns the corresponding matrix representation of the Lie algebra element (a 3x3 rotation matrix).
| rotation | The rotation vector. |
|
constexpr |
Applies the hat operator to a rotation vector.
It takes a rotation vector and returns the corresponding matrix representation of the Lie algebra element (a 3x3 rotation matrix).
| rotation | The rotation vector. |
|
constexpr |