30 #ifndef TOWR_CONSTRAINTS_TOTAL_DURATION_CONSTRAINT_H_ 31 #define TOWR_CONSTRAINTS_TOTAL_DURATION_CONSTRAINT_H_ 33 #include <ifopt/constraint_set.h>
VectorXd GetValues() const override
TotalDurationConstraint(double T_total, int ee)
std::shared_ptr< PhaseDurations > Ptr
VecBound GetBounds() const override
void FillJacobianBlock(std::string var_set, Jacobian &) const override
Makes sure all the phase durations sum up to the total time.
PhaseDurations::Ptr phase_durations_
virtual void InitVariableDependedQuantities(const VariablesPtr &x) override
~TotalDurationConstraint()=default