#include <hpp/constraints/explicit/convex-shape-contact.hh>
|
static ConvexShapeContactPtr_t | create (const std::string &name, DevicePtr_t robot, const JointAndShapes_t &floorSurfaces, const JointAndShapes_t &objectSurfaces, const value_type &margin) |
|
static Constraints_t | createConstraintAndComplement (const std::string &name, DevicePtr_t robot, const JointAndShapes_t &floorSurfaces, const JointAndShapes_t &objectSurfaces, const value_type &margin) |
|
static ConvexShapeContactPtr_t | createCopy (const ConvexShapeContactPtr_t &other) |
| Create copy and return shared pointer. More...
|
|
static ExplicitPtr_t | create (const LiegroupSpacePtr_t &configSpace, const DifferentiableFunctionPtr_t &function, const segments_t &inputConf, const segments_t &outputConf, const segments_t &inputVelocity, const segments_t &outputVelocity, const ComparisonTypes_t &comp=ComparisonTypes_t(), std::vector< bool > mask=std::vector< bool >()) |
|
static ExplicitPtr_t | createCopy (const ExplicitPtr_t &other) |
| Create a copy and return shared pointer. More...
|
|
static ImplicitPtr_t | create (const DifferentiableFunctionPtr_t &func, ComparisonTypes_t comp, std::vector< bool > mask=std::vector< bool >()) |
|
static ImplicitPtr_t | createCopy (const ImplicitPtr_t &other) |
| Create a copy and return shared pointer. More...
|
|
|
| ConvexShapeContact (const std::string &name, DevicePtr_t robot, const JointAndShapes_t &floorSurfaces, const JointAndShapes_t &objectSurfaces, const value_type &margin) |
|
void | init (ConvexShapeContactWkPtr_t weak) |
| Store weak pointer to itself. More...
|
|
| Explicit (const LiegroupSpacePtr_t &configSpace, const DifferentiableFunctionPtr_t &function, const segments_t &inputConf, const segments_t &outputConf, const segments_t &inputVelocity, const segments_t &outputVelocity, const ComparisonTypes_t &comp, std::vector< bool > mask) |
|
| Explicit (const DifferentiableFunctionPtr_t &implicitFunction, const DifferentiableFunctionPtr_t &function, const segments_t &inputConf, const segments_t &outputConf, const segments_t &inputVelocity, const segments_t &outputVelocity, const ComparisonTypes_t &comp, std::vector< bool > mask) |
| (const LiegroupSpacePtr_t&, const More...
|
|
| Explicit (const Explicit &other) |
| Copy constructor. More...
|
|
bool | isEqual (const Implicit &other, bool swapAndTest) const |
|
void | init (const ExplicitWkPtr_t &weak) |
|
| Explicit () |
|
| Implicit (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp, std::vector< bool > mask) |
|
| Implicit (const Implicit &other) |
| Copy constructor. More...
|
|
void | init (const ImplicitWkPtr_t &weak) |
|
| Implicit () |
|
◆ Constraints_t
◆ ConvexShapeContact()
Constructor
- Parameters
-
robot | the robot holding the floor and object contact surfaces, |
floorSurfaces | set of surfaces on which object are placed, |
objectSurfaces | set of surfaces that come in contact with floor surfaces. |
margin | distance between surfaces at contact to avoid collision. |
◆ copy()
virtual ImplicitPtr_t hpp::constraints::explicit_::ConvexShapeContact::copy |
( |
| ) |
const |
|
virtual |
◆ create()
Create instance and return shared pointer
- Parameters
-
robot | the robot holding the floor and object contact surfaces, |
floorSurfaces | set of surfaces on which object are placed, |
objectSurfaces | set of surfaces that come in contact with floor surfaces. |
margin | distance between surfaces at contact to avoid collision. |
◆ createConstraintAndComplement()
Create 3 constraints
- Parameters
-
robot | the robot holding the floor and object contact surfaces, |
floorSurfaces | set of surfaces on which object are placed, |
objectSurfaces | set of surfaces that come in contact with floor surfaces, |
margin | distance between surfaces at contact to avoid collision. |
- Returns
- a tuple containing
◆ createCopy()
Create copy and return shared pointer.
◆ init()
void hpp::constraints::explicit_::ConvexShapeContact::init |
( |
ConvexShapeContactWkPtr_t |
weak | ) |
|
|
protected |
Store weak pointer to itself.
◆ jacobianOutputValue()
Compute Jacobian of output value
\begin{eqnarray*} J &=& \frac{\partial}{\partial\mathbf{q}_{in}} \left(f(\mathbf{q}_{in}) + rhs\right). \end{eqnarray*}
- Parameters
-
qin | vector of input variables, |
f_value | \(f(\mathbf{q}_{in})\) provided to avoid recomputation, |
rhs | right hand side (of implicit formulation). |
Reimplemented from hpp::constraints::Explicit.
◆ outputValue()
Compute the object pose with respect
- Parameters
-
qin | input configuration variables, |
rhs | right hand side of constraint (of implicit formulation). |
The right hand side contains the following information:
- which floor surface is in contact with with object surface,
- the relative position of those surfaces.
Reimplemented from hpp::constraints::Explicit.
The documentation for this class was generated from the following file: