Computation of collision-free sub-intervals of a path. More...
#include <hpp/core/continuous-validation/solid-solid-collision.hh>
Public Member Functions | |
| value_type | computeMaximalVelocity (vector_t &Vb) const |
| Compute maximal velocity for a given velocity bound. More... | |
| bool | removeObjectTo_b (const CollisionObjectConstPtr_t &object) |
| std::string | name () const |
| std::ostream & | print (std::ostream &os) const |
| void | addCollisionPair (const CollisionObjectConstPtr_t &left, const CollisionObjectConstPtr_t &right) |
| const CoefficientVelocities_t & | coefficients () const |
| const JointPtr_t & | joint_a () const |
| Get joint a. More... | |
| const JointPtr_t & | joint_b () const |
| Get joint b. More... | |
| size_type | indexJointA () const |
| Returns joint A index or -1 if no such joint exists. More... | |
| size_type | indexJointB () const |
| Returns joint B index or -1 if no such joint exists. More... | |
| BodyPairCollisionPtr_t | copy () const |
Public Member Functions inherited from hpp::core::continuousValidation::BodyPairCollision | |
| bool | validateConfiguration (const value_type &t, interval_t &interval, CollisionValidationReportPtr_t &report, pinocchio::DeviceData &data) |
| Validate interval centered on a path parameter. More... | |
| const CollisionPairs_t & | pairs () const |
| CollisionPairs_t & | pairs () |
| value_type | maximalVelocity () const |
Public Member Functions inherited from hpp::core::continuousValidation::IntervalValidation< CollisionValidationReportPtr_t > | |
| void | path (const PathPtr_t &path, bool reverse) |
| Set path to validate. More... | |
| PathConstPtr_t | path () const |
| Get path. More... | |
| value_type | tolerance () const |
Static Public Member Functions | |
| static SolidSolidCollisionPtr_t | create (const JointPtr_t &joint_a, const ConstObjectStdVector_t &objects_b, value_type tolerance) |
| Create instance and return shared pointer. More... | |
| static SolidSolidCollisionPtr_t | create (const JointPtr_t &joint_a, const JointPtr_t &joint_b, value_type tolerance) |
| Create instance and return shared pointer. More... | |
Additional Inherited Members | |
Public Types inherited from hpp::core::continuousValidation::BodyPairCollision | |
| typedef std::pair< CollisionObjectConstPtr_t, CollisionObjectConstPtr_t > | CollisionPair_t |
| typedef std::vector< CollisionPair_t > | CollisionPairs_t |
Protected Types inherited from hpp::core::continuousValidation::IntervalValidation< CollisionValidationReportPtr_t > | |
| typedef boost::icl::continuous_interval< value_type > | continuous_interval |
| typedef boost::icl::interval_set< value_type > | interval_set |
Protected Attributes inherited from hpp::core::continuousValidation::IntervalValidation< CollisionValidationReportPtr_t > | |
| PathPtr_t | path_ |
| value_type | tolerance_ |
| bool | reverse_ |
| bool | refine_ |
| bool | valid_ |
| interval_set | validInterval_ |
Computation of collision-free sub-intervals of a path.
This class aims at validating a path for the absence of collision between two solid bodies of a robot.
The interval of definition of the path is successively covered by intervals where boths bodies are proved to be collision-free. Each interval is computed by bounding from above the velocity of all points of body 1 in the reference frame of body 2.
See this document for details.
|
protected |
Constructor of inter-body collision checking.
| joint_a,joint_b | joint of the bodies to test for collision |
| tolerance | allowed penetration should be positive |
|
protected |
Constructor of collision checking with the environment.
| joint_a | joint of the body to test for collision with the environment |
| objects_b | environment objects for the collision checking |
| tolerance | allowed penetration should be positive |
|
inlineprotected |
|
virtual |
Reimplemented from hpp::core::continuousValidation::BodyPairCollision.
|
inline |
|
virtual |
Compute maximal velocity for a given velocity bound.
| Vb | velocity |
Implements hpp::core::continuousValidation::BodyPairCollision.
|
virtual |
|
static |
Create instance and return shared pointer.
| joint_a | joint of the body to test for collision with the environment |
| objects_b | environment objects for the collision checking |
| tolerance | allowed penetration should be positive |
|
static |
Create instance and return shared pointer.
| joint_a,joint_b | joint of the bodies to test for collision |
| tolerance | allowed penetrationd be positive |
|
inlinevirtual |
Returns joint A index or -1 if no such joint exists.
Reimplemented from hpp::core::continuousValidation::BodyPairCollision.
|
inlinevirtual |
Returns joint B index or -1 if no such joint exists.
Reimplemented from hpp::core::continuousValidation::BodyPairCollision.
|
inline |
Get joint a.
|
inline |
Get joint b.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from hpp::core::continuousValidation::BodyPairCollision.