Go to the documentation of this file.
30 #ifndef EXOTICA_ILQR_SOLVER_ILQR_SOLVER_H_
31 #define EXOTICA_ILQR_SOLVER_ILQR_SOLVER_H_
37 #include <exotica_ilqr_solver/ilqr_solver_initializer.h>
49 void Solve(Eigen::MatrixXd& solution)
override;
78 #endif // EXOTICA_ILQR_SOLVER_ILQR_SOLVER_H_
double ForwardPass(const double alpha, Eigen::MatrixXdRefConst ref_x, Eigen::MatrixXdRefConst ref_u)
Forward simulates the dynamics using the gains computed in the last BackwardPass;.
void Solve(Eigen::MatrixXd &solution) override
Solves the problem.
void SpecifyProblem(PlanningProblemPtr pointer) override
Binds the solver to a specific problem which must be pre-initalised.
std::vector< Eigen::MatrixXd > K_gains_
!< Shared pointer to the dynamics solver.
Definition: ilqr_solver.h:61
DynamicsSolverPtr dynamics_solver_
!< Shared pointer to the planning problem.
Definition: ilqr_solver.h:60
Definition: feedback_motion_solver.h:37
std::shared_ptr< exotica::DynamicsSolver > DynamicsSolverPtr
Definition: dynamics_solver.h:269
std::vector< Eigen::MatrixXd > Ku_gains_
Definition: ilqr_solver.h:61
Definition: property.h:110
Definition: cartpole_dynamics_solver.h:38
Definition: ilqr_solver.h:44
void BackwardPass()
!< Reference trajectory for feedback control.
Eigen::VectorXd GetFeedbackControl(Eigen::VectorXdRefConst x, int t) const override
DynamicTimeIndexedShootingProblemPtr prob_
Definition: ilqr_solver.h:59
const typedef Eigen::Ref< const Eigen::VectorXd > & VectorXdRefConst
Convenience wrapper for storing references to sub-matrices/vectors.
Definition: conversions.h:52
std::vector< Eigen::MatrixXd > vk_gains_
Definition: ilqr_solver.h:61
const typedef Eigen::Ref< const Eigen::MatrixXd > & MatrixXdRefConst
Definition: conversions.h:53
std::shared_ptr< exotica::DynamicTimeIndexedShootingProblem > DynamicTimeIndexedShootingProblemPtr
Definition: dynamic_time_indexed_shooting_problem.h:231
Eigen::MatrixXd best_ref_u_
Definition: ilqr_solver.h:63
std::shared_ptr< PlanningProblem > PlanningProblemPtr
Definition: planning_problem.h:116
Eigen::MatrixXd best_ref_x_
!< Control gains.
Definition: ilqr_solver.h:63
std::vector< Eigen::MatrixXd > Kv_gains_
Definition: ilqr_solver.h:61