37 :ConstraintSet(1,
"DurationConstraint_ee_-" + std::to_string(ee))
52 VectorXd g = VectorXd::Zero(GetRows());
57 TotalDurationConstraint::VecBound
62 int min_duration_last_phase = 0.2;
63 return VecBound(GetRows(), ifopt::Bounds(0.1,
T_total_-min_duration_last_phase));
71 jac.coeffRef(0, col) = 1.0;
VectorXd GetValues() const override
TotalDurationConstraint(double T_total, int ee)
static std::string EESchedule(uint ee)
VecBound GetBounds() const override
A variable set composed of the phase durations of an endeffector.
void FillJacobianBlock(std::string var_set, Jacobian &) const override
PhaseDurations::Ptr phase_durations_
virtual void InitVariableDependedQuantities(const VariablesPtr &x) override