hpp-core
4.9.0
Implement basic classes for canonical path planning for kinematic chains.
|
#include <hpp/core/obstacle-user.hh>
Public Member Functions | |
virtual | ~ObstacleUserVector () |
void | addObstacle (const CollisionObjectConstPtr_t &object) |
void | removeObstacleFromJoint (const JointPtr_t &joint, const CollisionObjectConstPtr_t &object) |
void | filterCollisionPairs (const RelativeMotion::matrix_type &relMotion) |
void | setSecurityMargins (const matrix_t &securityMatrix) |
Public Member Functions inherited from hpp::core::ObstacleUserInterface | |
virtual | ~ObstacleUserInterface () |
Protected Types | |
typedef Derived | value_t |
typedef std::vector< value_t > | values_t |
Protected Attributes | |
values_t | validations_ |
Vector of validation class instances.
Derived | must be a shared point to some validation class. For instance ConfigValidationPtr_t or PathValidationPtr_t . |
This class implements the abstract interface defined by ObstacleUserInterface and stores a vector of path or config validation class instances. Methods addObstacle , removeObstacleFromJoint, and filterCollisionPairs iteratively dynamic cast each instance into Obstacle user interface and calls the derived implementation in case of success.
|
protected |
|
protected |
|
inlinevirtual |
|
inlinevirtual |
Add obstacle to each element
Dynamic cast into ObstacleUserInterface each element of validations_ and call method addObstacle of element.
Implements hpp::core::ObstacleUserInterface.
|
inlinevirtual |
Filter collision pairs to each element
Dynamic cast into ObstacleUserInterface each element of validations_ and call method filterCollisionPairs of element.
Implements hpp::core::ObstacleUserInterface.
|
inlinevirtual |
Remove obstacle from joint to each element
Dynamic cast into ObstacleUserInterface each element of validations_ and call method removeObstacleFromJoint of element.
Implements hpp::core::ObstacleUserInterface.
|
inlinevirtual |
Set different security margins for collision pairs
This method enables users to choose different security margins for each pair of robot body or each pair robot body - obstacle.
Implements hpp::core::ObstacleUserInterface.
|
protected |