centroidal_control_collection
Classes | Public Member Functions | Public Attributes | List of all members
CCC::DdpZmp Class Reference

Differential dynamic programming (DDP) for CoM-ZMP model. More...

#include <DdpZmp.h>

Classes

class  DdpProblem
 DDP problem of CoM-ZMP model. More...
 
struct  InitialParam
 Initial parameter. More...
 
struct  PlannedData
 Planned data. More...
 
struct  RefData
 Reference data. More...
 
struct  WeightParam
 Weight parameter. More...
 

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW DdpZmp (double mass, double horizon_dt, int horizon_steps, const WeightParam &weight_param=WeightParam())
 Constructor. More...
 
PlannedData planOnce (const std::function< RefData(double)> &ref_data_func, const InitialParam &initial_param, double current_time)
 Plan one step. More...
 

Public Attributes

std::shared_ptr< DdpProblemddp_problem_
 DDP problem. More...
 
std::shared_ptr< nmpc_ddp::DDPSolver< 6, 3 > > ddp_solver_
 DDP solver. More...
 

Detailed Description

Differential dynamic programming (DDP) for CoM-ZMP model.

See the following for a detailed formulation.

Definition at line 15 of file DdpZmp.h.

Constructor & Destructor Documentation

◆ DdpZmp()

EIGEN_MAKE_ALIGNED_OPERATOR_NEW CCC::DdpZmp::DdpZmp ( double  mass,
double  horizon_dt,
int  horizon_steps,
const WeightParam weight_param = WeightParam() 
)
inline

Constructor.

Parameters
massrobot mass [kg]
horizon_dtdiscretization timestep in horizon [sec]
horizon_stepsnumber of steps in horizon
weight_paramobjective weight parameter

Definition at line 277 of file DdpZmp.h.

Member Function Documentation

◆ planOnce()

PlannedData CCC::DdpZmp::planOnce ( const std::function< RefData(double)> &  ref_data_func,
const InitialParam initial_param,
double  current_time 
)

Plan one step.

Parameters
ref_data_funcfunction of reference data
initial_paraminitial parameter
current_timecurrent time (i.e., start time of horizon) [sec]
Returns
planned data

Member Data Documentation

◆ ddp_problem_

std::shared_ptr<DdpProblem> CCC::DdpZmp::ddp_problem_

DDP problem.

Definition at line 296 of file DdpZmp.h.

◆ ddp_solver_

std::shared_ptr<nmpc_ddp::DDPSolver<6, 3> > CCC::DdpZmp::ddp_solver_

DDP solver.

Definition at line 299 of file DdpZmp.h.


The documentation for this class was generated from the following file: