Ensures continuous accelerations between polynomials. More...
#include <spline_acc_constraint.h>
Public Member Functions | |
void | FillJacobianBlock (std::string var_set, Jacobian &) const override |
VecBound | GetBounds () const override |
VectorXd | GetValues () const override |
SplineAccConstraint (const NodeSpline::Ptr &spline, std::string name) | |
virtual | ~SplineAccConstraint ()=default |
Private Attributes | |
int | n_dim_ |
dimensions that this polynomial represents (e.g. x,y). More... | |
int | n_junctions_ |
polynomial parameterized node values More... | |
std::string | node_variables_id_ |
NodeSpline::Ptr | spline_ |
a spline comprised of polynomials More... | |
std::vector< double > | T_ |
Duration of each polynomial in spline. More... | |
Ensures continuous accelerations between polynomials.
This is used to restrict jumps in linear and angular base accelerations, since this would require jumps in foot positions or endeffector forces, which aren't allowed in our formulation.
Definition at line 46 of file spline_acc_constraint.h.
towr::SplineAccConstraint::SplineAccConstraint | ( | const NodeSpline::Ptr & | spline, |
std::string | name | ||
) |
Definition at line 34 of file spline_acc_constraint.cc.
|
virtualdefault |
|
override |
Definition at line 67 of file spline_acc_constraint.cc.
|
override |
Definition at line 83 of file spline_acc_constraint.cc.
|
override |
Definition at line 49 of file spline_acc_constraint.cc.
|
private |
dimensions that this polynomial represents (e.g. x,y).
Definition at line 61 of file spline_acc_constraint.h.
|
private |
polynomial parameterized node values
number of junctions between polynomials in spline.
Definition at line 60 of file spline_acc_constraint.h.
|
private |
Definition at line 58 of file spline_acc_constraint.h.
|
private |
a spline comprised of polynomials
Definition at line 57 of file spline_acc_constraint.h.
|
private |
Duration of each polynomial in spline.
Definition at line 62 of file spline_acc_constraint.h.