30 #ifndef TOWR_CONSTRAINTS_TOTAL_DURATION_CONSTRAINT_H_ 31 #define TOWR_CONSTRAINTS_TOTAL_DURATION_CONSTRAINT_H_
VectorXd GetValues() const override
Composite::Ptr VariablesPtr
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_
Eigen::SparseMatrix< double, Eigen::RowMajor > Jacobian
void InitVariableDependedQuantities(const VariablesPtr &x) override
std::vector< Bounds > VecBound
~TotalDurationConstraint()=default