30 #ifndef TOWR_OPTIMIZATION_PARAMETERS_H_ 31 #define TOWR_OPTIMIZATION_PARAMETERS_H_ int ee_polynomials_per_swing_phase_
Number of polynomials to parameterize foot movement during swing phases.
double dt_constraint_base_motion_
Interval at which the base motion constraint is enforced.
UsedConstraints constraints_
Which constraints should be used in the optimization problem.
double min_phase_duration_
When optimizing over phase duration, this is the minimum allowed.
std::vector< bool > ee_in_contact_at_start_
True if the foot is initially in contact with the terrain.
double max_phase_duration_
When optimizing over phase duration, this is is maximum allowed.
CostWeights costs_
Which costs should be used in the optimiation problem.
int GetPhaseCount(EEID ee) const
The number of phases allowed for endeffector ee.
int GetEECount() const
The number of endeffectors.
virtual ~Parameters()=default
int force_polynomials_per_stance_phase_
Number of polynomials to parameterize each contact force during stance phase.
Parameters()
Default parameters to use.
std::vector< VecTimes > ee_phase_durations_
Number and initial duration of each foot's swing and stance phases.
VecTimes GetBasePolyDurations() const
The durations of each base polynomial in the spline (lin+ang).
double dt_constraint_dynamic_
Interval at which the dynamic constraint is enforced.
double force_limit_in_norm_
The maximum allowable force [N] in normal direction.
bool OptimizeTimings() const
True if the phase durations should be optimized over.
double dt_constraint_range_of_motion_
Interval at which the range of motion constraint is enforced.
Holds the parameters to tune the optimization problem.
double t_total_
Total duration [s] of the walking motion.
std::vector< ConstraintName > UsedConstraints
std::vector< std::pair< CostName, double >> CostWeights
double duration_base_polynomial_
Fixed duration of each cubic polynomial describing the base motion.
std::vector< double > VecTimes