A sparse MPC solver for walking motion generation.
Public Member Functions | Public Attributes | List of all members
AS::problem_parameters Class Reference

A set of problem parameters. More...

#include <as_problem_param.h>

Inheritance diagram for AS::problem_parameters:
qp_as

Public Member Functions

 problem_parameters (const int, const double, const double, const double, const double)
 
 ~problem_parameters ()
 
void set_state_parameters (const double *, const double *, const double)
 Initializes quadratic problem. More...
 

Public Attributes

int N
 
state_parametersspar
 
double h_initial
 Height of the CoM at initial state divided by the gravity, this initial state precede the first state in the preview window. More...
 
double i2Q [3]
 
double i2P
 

Detailed Description

A set of problem parameters.

Definition at line 45 of file as_problem_param.h.

Constructor & Destructor Documentation

◆ problem_parameters()

AS::problem_parameters::problem_parameters ( const int  N_,
const double  gain_position,
const double  gain_velocity,
const double  gain_acceleration,
const double  gain_jerk 
)

Definition at line 20 of file as_problem_param.cpp.

◆ ~problem_parameters()

AS::problem_parameters::~problem_parameters ( )

Definition at line 40 of file as_problem_param.cpp.

Member Function Documentation

◆ set_state_parameters()

void AS::problem_parameters::set_state_parameters ( const double *  T_,
const double *  h_,
const double  h_initial_ 
)

Initializes quadratic problem.

Parameters
[in]T_Sampling time (for the moment it is assumed to be constant) [sec.]
[in]h_Height of the Center of Mass divided by gravity
[in]h_initial_current h

Definition at line 53 of file as_problem_param.cpp.

Member Data Documentation

◆ h_initial

double AS::problem_parameters::h_initial

Height of the CoM at initial state divided by the gravity, this initial state precede the first state in the preview window.

Definition at line 72 of file as_problem_param.h.

◆ i2P

double AS::problem_parameters::i2P

Control related penalty.

Definition at line 65 of file as_problem_param.h.

◆ i2Q

double AS::problem_parameters::i2Q[3]

State related penalty.

Definition at line 60 of file as_problem_param.h.

◆ N

int AS::problem_parameters::N

Number of iterations in a preview window.

Definition at line 55 of file as_problem_param.h.

◆ spar

state_parameters* AS::problem_parameters::spar

Definition at line 68 of file as_problem_param.h.


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