19 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
28 const double& newCost()
const {
return new_cost_; }
29 const bool& hasDiverged()
const {
return has_diverged_; }
30 const double& timestepCost(
int time_id)
const {
return timestep_cost_[time_id]; }
34 const StateSequence& stateSeq()
const {
return new_state_seq_; }
38 OcpBase& getOcp() {
return *ocp_; }
39 const OcpBase& getOcp()
const {
return *ocp_; }
52 Eigen::VectorXd timestep_cost_;
Definition: BackwardPass.hpp:15
Definition: OcpDescription.hpp:44
Optimal Control Problem Description Class.
Definition: OcpDescription.hpp:115
Definition: OcpDescription.hpp:88
Definition: ForwardPass.hpp:16
Definition: SolverLqrSetting.hpp:18
Class to define State of OCP.
Definition: OcpDescription.hpp:18