mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[wpimath] Add RamseteController comparison to LTV controller docs (NFC) (#5559)
This commit is contained in:
@@ -20,8 +20,11 @@ namespace frc {
|
||||
|
||||
/**
|
||||
* The linear time-varying unicycle controller has a similar form to the LQR,
|
||||
* but the model used to compute the controller gain is the nonlinear model
|
||||
* linearized around the drivetrain's current state.
|
||||
* but the model used to compute the controller gain is the nonlinear unicycle
|
||||
* model linearized around the drivetrain's current state.
|
||||
*
|
||||
* This controller is a roughly drop-in replacement for RamseteController with
|
||||
* more optimal feedback gains in the "least-squares error" sense.
|
||||
*
|
||||
* See section 8.9 in Controls Engineering in FRC for a derivation of the
|
||||
* control law we used shown in theorem 8.9.1.
|
||||
|
||||
Reference in New Issue
Block a user