robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
The state feedback and feedforward policy of LQR subproblem at a time stage. More...
#include <lqr_policy.hpp>
Public Types | |
using | MatrixXdRowMajor = Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > |
Public Member Functions | |
LQRPolicy (const Robot &robot) | |
Constructs LQR gain and feedforward term. More... | |
LQRPolicy () | |
Default constructor. More... | |
~LQRPolicy () | |
Destructor. More... | |
LQRPolicy (const LQRPolicy &)=default | |
Default copy constructor. More... | |
LQRPolicy & | operator= (const LQRPolicy &)=default |
Default copy operator. More... | |
LQRPolicy (LQRPolicy &&) noexcept=default | |
Default move constructor. More... | |
LQRPolicy & | operator= (LQRPolicy &&) noexcept=default |
Default move assign operator. More... | |
const Eigen::Block< const MatrixXdRowMajor > | Kq () const |
State feedback gain matrix w.r.t. the configuration q. Size is Robot::dimu() x Robot::dimv(). More... | |
const Eigen::Block< const MatrixXdRowMajor > | Kv () const |
State feedback gain matrix w.r.t. the velocity v. Size is Robot::dimu() x Robot::dimv(). More... | |
bool | isApprox (const LQRPolicy &other) const |
Checks the equivalence of two LQRPolicy. More... | |
Public Attributes | |
MatrixXdRowMajor | K |
State feedback gain matrix. Size is Robot::dimu() x 2 * Robot::dimv(). More... | |
Eigen::VectorXd | k |
Feedforward term. Size is Robot::dimu(). More... | |
Eigen::VectorXd | T |
Feedback gain w.r.t the switching time. Size is Robot::dimu(). More... | |
Eigen::VectorXd | W |
Feedback gain w.r.t the next switching time. Size is Robot::dimu(). More... | |
The state feedback and feedforward policy of LQR subproblem at a time stage.
using robotoc::LQRPolicy::MatrixXdRowMajor = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> |
|
inline |
Constructs LQR gain and feedforward term.
[in] | robot | Robot model. |
|
inline |
Default constructor.
|
inline |
Destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
|
inline |
Checks the equivalence of two LQRPolicy.
[in] | other | object. |
|
inline |
State feedback gain matrix w.r.t. the configuration q. Size is Robot::dimu() x Robot::dimv().
|
inline |
State feedback gain matrix w.r.t. the velocity v. Size is Robot::dimu() x Robot::dimv().
Default move assign operator.
MatrixXdRowMajor robotoc::LQRPolicy::K |
State feedback gain matrix. Size is Robot::dimu() x 2 * Robot::dimv().
Eigen::VectorXd robotoc::LQRPolicy::k |
Feedforward term. Size is Robot::dimu().
Eigen::VectorXd robotoc::LQRPolicy::T |
Feedback gain w.r.t the switching time. Size is Robot::dimu().
Eigen::VectorXd robotoc::LQRPolicy::W |
Feedback gain w.r.t the next switching time. Size is Robot::dimu().