hpp-core
4.9.0
Implement basic classes for canonical path planning for kinematic chains.
|
Computation of distances between pairs of objects. More...
#include <hpp/core/distance-between-objects.hh>
Public Member Functions | |
DistanceBetweenObjects (const DevicePtr_t &robot) | |
void | addObstacle (const CollisionObjectConstPtr_t &object) |
void | obstacles (const ObjectStdVector_t &obstacles) |
Add a list of obstacles. More... | |
void | computeDistances () |
Compute distances between pairs of objects stored in bodies. More... | |
const CollisionPairs_t & | collisionPairs () const |
Get collision pairs. More... | |
const DistanceResults_t & | distanceResults () const |
Get result of distance computations. More... | |
Computation of distances between pairs of objects.
hpp::core::DistanceBetweenObjects::DistanceBetweenObjects | ( | const DevicePtr_t & | robot | ) |
void hpp::core::DistanceBetweenObjects::addObstacle | ( | const CollisionObjectConstPtr_t & | object | ) |
Add an obstacle
object | obstacle to add Create distance computation pairs for each body of the robot |
|
inline |
Get collision pairs.
void hpp::core::DistanceBetweenObjects::computeDistances | ( | ) |
Compute distances between pairs of objects stored in bodies.
|
inline |
Get result of distance computations.
void hpp::core::DistanceBetweenObjects::obstacles | ( | const ObjectStdVector_t & | obstacles | ) |
Add a list of obstacles.