PPL API Reference |
|
---|
Public Member Functions | |||||
Construction | |||||
LocalObstacleMapType (StatClass *const _stats) | |||||
Accessors | |||||
const VertexSet & | Get (const VID &_vid) const | ||||
template<typename ContainerType > | |||||
const VertexSet | Get (const ContainerType &_c) const | ||||
const VertexSet & | Inverse (const VID &_vid) const | ||||
template<typename ContainerType > | |||||
const VertexSet | Inverse (const ContainerType &_c) const | ||||
Addition | |||||
Add a new obstacle configuration to the local obstacle map of a given free node.
| |||||
void | Add (const VID &_obst, const VID &_free) | ||||
template<typename ContainerType > | |||||
void | Add (const ContainerType &_obst, const VID &_free) | ||||
template<typename ContainerType > | |||||
void | Add (const VID &_obst, const ContainerType &_free) | ||||
template<typename ContainerType > | |||||
void | Add (const ContainerType &_obst, const ContainerType &_free) | ||||
Deletion | |||||
Delete an obstacle configuration from one or more local obstacle maps.
| |||||
void | Delete (const VID &_obst=INVALID_VID, const VID &_free=INVALID_VID) | ||||
template<typename ContainerType > | |||||
void | Delete (const VID &_obst, const ContainerType &_free) | ||||
template<typename ContainerType > | |||||
void | Delete (const ContainerType &_obst, const VID &_free=INVALID_VID) | ||||
template<typename ContainerType > | |||||
void | Delete (const ContainerType &_obst, const ContainerType &_free) | ||||
Public Types | |
Motion Planning Types | |
typedef MPTraits::RoadmapType | RoadmapType |
typedef RoadmapType::VID | VID |
Local Types | |
typedef std::unordered_set< VID > | VertexSet |
typedef std::unordered_map< VID, VertexSet > | MapType |
Maintains an associative mapping between free and obstacle configurations to avoid running a neighborhood finder on the obstacle map (which is typically huge).
const LocalObstacleMapType< MPTraits >::VertexSet & LocalObstacleMapType< MPTraits >::Get | ( | const VID & | _vid | ) | const |
Get the local obstacle map for a given free vertex.
_vid | A free vertex. |
const LocalObstacleMapType< MPTraits >::VertexSet LocalObstacleMapType< MPTraits >::Get | ( | const ContainerType & | _c | ) | const |
Get the aggregate local obstacle map for a set of free vertices.
_c | A container of free vertices. |
const LocalObstacleMapType< MPTraits >::VertexSet & LocalObstacleMapType< MPTraits >::Inverse | ( | const VID & | _vid | ) | const |
Get the inverse local obstacle map for a given obstacle vertex.
_vid | An obstacle vertex. |
const LocalObstacleMapType< MPTraits >::VertexSet LocalObstacleMapType< MPTraits >::Inverse | ( | const ContainerType & | _c | ) | const |
Get the aggregate inverse local obstacle map for a set of obstacle vertices.
_c | A set of obstacle vertices. |