|
Robowflex
v0.1
Making MoveIt Easy
|
An OMPL constraint for TSRs. Under the hood, creates a TSRSet that is used for all computation. Make sure that the robot state space has all groups setup before creation of this constraint. More...
#include <tsr.h>
Inheritance diagram for robowflex::darts::TSRConstraint:Public Member Functions | |
| TSRConstraint (const StateSpacePtr &space, const TSRPtr &tsr) | |
| Constructor for a single TSR. More... | |
| TSRConstraint (const StateSpacePtr &space, const std::vector< TSRPtr > &tsrs) | |
| Constructor for multiple TSRs. More... | |
| TSRConstraint (const StateSpacePtr &space, const TSRSetPtr &tsr) | |
| Constructor for a TSRSet. More... | |
| TSRSetPtr | getSet () |
| Get TSR set for this constraint. More... | |
| void | function (const Eigen::Ref< const Eigen::VectorXd > &x, Eigen::Ref< Eigen::VectorXd > out) const override |
| void | jacobian (const Eigen::Ref< const Eigen::VectorXd > &x, Eigen::Ref< Eigen::MatrixXd > out) const override |
| bool | project (Eigen::Ref< Eigen::VectorXd > x) const override |
Public Attributes | |
| struct { | |
| bool use_gradient {false} | |
| } | options |
| Public options. More... | |
Protected Attributes | |
| StateSpacePtr | space_ |
| Robot state space. More... | |
| TSRSetPtr | tsr_ |
| Set of TSR constraints. More... | |
An OMPL constraint for TSRs. Under the hood, creates a TSRSet that is used for all computation. Make sure that the robot state space has all groups setup before creation of this constraint.
| TSRConstraint::TSRConstraint | ( | const StateSpacePtr & | space, |
| const TSRPtr & | tsr | ||
| ) |
Constructor for a single TSR.
Definition at line 1352 of file tsr.cpp.
| TSRConstraint::TSRConstraint | ( | const StateSpacePtr & | space, |
| const std::vector< TSRPtr > & | tsrs | ||
| ) |
Constructor for multiple TSRs.
| [in] | space | Robot state space. |
| [in] | tsrs | TSRs to use in constraint. |
| TSRConstraint::TSRConstraint | ( | const StateSpacePtr & | space, |
| const TSRSetPtr & | tsr | ||
| ) |
|
override |
| TSRSetPtr TSRConstraint::getSet | ( | ) |
|
override |
|
override |
| struct { ... } robowflex::darts::TSRConstraint::options |
Public options.
|
protected |
|
protected |