45 double dev_rad = 0.05;
VecBound node_bounds_
same bounds for each discretized node
Constraints evaluated at discretized times along a trajectory.
BaseMotionConstraint(double T, double dt, const SplineHolder &spline_holder)
Links the base variables and sets hardcoded bounds on the state.
void UpdateJacobianAtInstance(double t, int k, std::string, Jacobian &) const override
Sets Jacobian rows at a specific time t, corresponding to node k.
static const Bounds NoBound
Builds splines from node values (pos/vel) and durations.
NodeSpline::Ptr base_linear_
void SetRows(int num_rows)
NodeSpline::Ptr base_angular_
int GetNumberOfNodes() const
Eigen::SparseMatrix< double, Eigen::RowMajor > Jacobian
NodeSpline::Ptr base_angular_
void UpdateConstraintAtInstance(double t, int k, VectorXd &g) const override
Sets the constraint value a specific time t, corresponding to node k.
int GetRow(int node, int dim) const
static const std::string base_ang_nodes
void UpdateBoundsAtInstance(double t, int k, VecBound &) const override
Sets upper/lower bound a specific time t, corresponding to node k.
NodeSpline::Ptr base_linear_
std::vector< Bounds > VecBound
static const std::string base_lin_nodes