![]() |
Parasol Planning Library (PPL)
|
#include <ClearanceMap.h>
Public Types | |
Local Types | |
typedef stapl::sequential::directed_preds_graph< stapl::MULTIEDGES, Point3d, vector< Point3d > > | GraphType |
Graph type is a directed multiedge graph of points and paths. More... | |
typedef GraphType::vertex_descriptor | VD |
typedef GraphType::edge_descriptor | ED |
typedef GraphType::vertex_iterator | vertex_iterator |
typedef GraphType::adj_edge_iterator | adj_edge_iterator |
typedef MPTraits::CfgType | CfgType |
typedef function< bool(double)> | FilterFunction |
![]() | |
typedef DefaultWeight< Cfg > | WeightType |
typedef GenericStateGraph< Cfg, WeightType > | RoadmapType |
typedef GroupCfg< RoadmapType > | GroupCfgType |
typedef GroupLocalPlan< RoadmapType > | GroupWeightType |
typedef GroupRoadmap< GroupCfgType, GroupWeightType > | GroupRoadmapType |
Public Member Functions | |
map< ED, double > & | GetAnnotatedClearanceMap (FilterFunction &&_f) |
WorkspaceSkeleton * | GetAnnotatedSkeleton (FilterFunction &&_f) |
map< ED, double > & | GetClearanceMap () |
Get the clerance map. More... | |
Construction | |
ClearanceMap ()=default | |
void | Construct (WorkspaceSkeleton *_s) |
![]() | |
MPBaseObject (const std::string &_label="", const std::string &_name="", bool _debug=false) | |
MPBaseObject (XMLNode &_node) | |
virtual | ~MPBaseObject () |
virtual void | Print (std::ostream &_os) const |
virtual void | Initialize () |
const std::string & | GetName () const |
Get the class name for this object. More... | |
const std::string & | GetLabel () const |
Get the unique label for this object. More... | |
std::string | GetNameAndLabel () const |
Get the unique string identifier for this object "m_name::m_label". More... | |
void | SetLabel (const std::string &) |
Set the unique label for this object. More... | |
void | SetMPLibrary (MPLibrary *) noexcept |
Set the owning MPLibrary. More... | |
MPLibrary * | GetMPLibrary () const noexcept |
Get the owning MPLibrary. More... | |
bool | IsRunning () const noexcept |
Check the library's running flag. More... | |
MPProblem * | GetMPProblem () const noexcept |
Get the library's current MPProblem. More... | |
Environment * | GetEnvironment () const noexcept |
Get the current environment. More... | |
MPTask * | GetTask () const noexcept |
Get the current task. More... | |
GroupTask * | GetGroupTask () const noexcept |
Get the current group task. More... | |
MPSolutionType * | GetMPSolution () const noexcept |
RoadmapType * | GetRoadmap (Robot *const _r=nullptr) const noexcept |
Get the current free-space roadmap. More... | |
GroupRoadmapType * | GetGroupRoadmap (RobotGroup *const _g=nullptr) const noexcept |
Get the current free-space group roadmap. More... | |
RoadmapType * | GetBlockRoadmap (Robot *const _r=nullptr) const noexcept |
Get the current obstacle-space roadmap. More... | |
Path * | GetPath (Robot *const _r=nullptr) const noexcept |
GroupPath * | GetGroupPath (RobotGroup *const _g=nullptr) const noexcept |
Get the current best group path. More... | |
StatClass * | GetStatClass () const noexcept |
Get the current StatClass. More... | |
LocalObstacleMap * | GetLocalObstacleMap () const noexcept |
Get the local obstacle map. More... | |
Additional Inherited Members | |
![]() | |
void | SetName (const std::string &_s) |
const std::string & | GetBaseFilename () const |
![]() | |
bool | m_debug |
Print debug info? More... | |
Clearance map of the workspace skeleton.
To use clearance map, put it before workspace skeleton. Direct() and SetMPlibrary before construct().
typedef GraphType::adj_edge_iterator ClearanceMap< MPTraits >::adj_edge_iterator |
typedef MPTraits::CfgType ClearanceMap< MPTraits >::CfgType |
typedef GraphType::edge_descriptor ClearanceMap< MPTraits >::ED |
typedef function<bool(double)> ClearanceMap< MPTraits >::FilterFunction |
typedef stapl::sequential::directed_preds_graph< stapl::MULTIEDGES, Point3d, vector<Point3d> > ClearanceMap< MPTraits >::GraphType |
Graph type is a directed multiedge graph of points and paths.
typedef GraphType::vertex_descriptor ClearanceMap< MPTraits >::VD |
typedef GraphType::vertex_iterator ClearanceMap< MPTraits >::vertex_iterator |
|
default |
void ClearanceMap< MPTraits >::Construct | ( | WorkspaceSkeleton * | _s | ) |
map< typename ClearanceMap< MPTraits >::ED, double > & ClearanceMap< MPTraits >::GetAnnotatedClearanceMap | ( | FilterFunction && | _f | ) |
Annotate the clearance map in terms of filter function. The graph in skeleton won't be touched.
_f | Filter functor. |
WorkspaceSkeleton * ClearanceMap< MPTraits >::GetAnnotatedSkeleton | ( | FilterFunction && | _f | ) |
Compute the graph in terms of filter funtion then replace the old graph with the annotated one.
_f | Filter functor. |
|
inline |
Get the clerance map.