11 #include <solver_lqr/SolverLqr.hpp> 12 #include <solver_lqr/OcpDescription.hpp> 34 void configure(
const YAML::Node& user_parameters);
37 double objective(
const solverlqr::StateBase& state,
const solverlqr::ControlBase& control,
int time_id,
bool is_final_timestep);
40 solverlqr::StateBase
dynamics(
const solverlqr::StateBase& state,
const solverlqr::ControlBase& control,
int time_id);
54 Eigen::MatrixXd
control_cost_, com_tracking_, lmom_tracking_, amom_tracking_,
55 com_final_tracking_, lmom_final_tracking_, amom_final_tracking_;
67 void initialize(solverlqr::SolverLqrSetting& lqr_stg,
const PlannerSetting& plan_stg);
69 Eigen::MatrixXd forceGain(
int time_id);
73 solverlqr::SolverLqrSetting* lqr_stg_;
76 solverlqr::SolverLqr dynamics_lqrsolver_;
solverlqr::StateBase dynamics(const solverlqr::StateBase &state, const solverlqr::ControlBase &control, int time_id)
Definition: DynamicsFeedback.cpp:85
const PlannerSetting & getSetting() const
Definition: DynamicsFeedback.hpp:43
Definition: DynamicsFeedback.hpp:61
Class that implements the dynamic description of momentum dynamics as an optimal control problem...
Definition: DynamicsFeedback.hpp:21
This class is a container for all variables required to define a dynamic state: center of mass positi...
Definition: DynamicsState.hpp:29
void configure(const YAML::Node &user_parameters)
Definition: DynamicsFeedback.cpp:38
DynamicsFeedback()
Definition: DynamicsFeedback.hpp:25
Definition: PlannerSetting.hpp:22
double objective(const solverlqr::StateBase &state, const solverlqr::ControlBase &control, int time_id, bool is_final_timestep)
Definition: DynamicsFeedback.cpp:56
This class is a container for a sequence of dynamic states, for all time steps in the optimization...
Definition: DynamicsState.hpp:123
const DynamicsSequence * ref_dyn_sequence_
Definition: DynamicsFeedback.hpp:51
const PlannerSetting * setting_
Definition: DynamicsFeedback.hpp:48
Eigen::MatrixXd control_cost_
Definition: DynamicsFeedback.hpp:54
void setPlannerSetting(const PlannerSetting &setting)
Definition: DynamicsFeedback.hpp:29