![]() |
Parasol Planning Library (PPL)
|
Validates an edge by calling a local planner and collision checking all intermediates created by that local planner separately. More...
#include <IntermediatesEdgeValidityChecker.h>
Public Types | |
typedef MPBaseObject::RoadmapType | RoadmapType |
typedef RoadmapType::VID | VID |
typedef RoadmapType::EID | EID |
typedef RoadmapType::adj_edge_iterator | EI |
![]() | |
typedef MPBaseObject::RoadmapType | RoadmapType |
typedef RoadmapType::VID | VID |
typedef RoadmapType::EID | EID |
typedef RoadmapType::adj_edge_iterator | EI |
![]() | |
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 | |
IntermediatesEdgeValidityChecker () | |
IntermediatesEdgeValidityChecker (XMLNode &_node) | |
void | Initialize () override |
bool | ValidateEdge (VID _u, VID _v, std::vector< size_t > &_collisions) override |
bool | ValidateEdge (Cfg &_c1, Cfg &_c2, std::vector< size_t > &_collisions) override |
Cfg version of ValidateEdge. More... | |
double | EdgeWeightedClearance (VID _u, VID _v) |
double | EdgeWeightedClearance (Cfg &_c1, Cfg &_c2) |
Cfg version of EdgeWeightedClearance. More... | |
![]() | |
EdgeValidityCheckerMethod ()=default | |
EdgeValidityCheckerMethod (XMLNode &_node) | |
virtual | ~EdgeValidityCheckerMethod ()=default |
void | SetReportCollisions (bool _reportCollisions) |
![]() | |
MPBaseObject (const std::string &_label="", const std::string &_name="", bool _debug=false) | |
MPBaseObject (XMLNode &_node) | |
virtual | ~MPBaseObject () |
virtual void | Print (std::ostream &_os) const |
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_reportCollisions {false} |
![]() | |
bool | m_debug |
Print debug info? More... | |
Validates an edge by calling a local planner and collision checking all intermediates created by that local planner separately.
typedef RoadmapType::adj_edge_iterator IntermediatesEdgeValidityChecker::EI |
IntermediatesEdgeValidityChecker::IntermediatesEdgeValidityChecker | ( | ) |
IntermediatesEdgeValidityChecker::IntermediatesEdgeValidityChecker | ( | XMLNode & | _node | ) |
Cfg version of EdgeWeightedClearance.
Implements EdgeValidityCheckerMethod.
Determines the clearance of the edge given by two VIDs.
_u | The source of the edge |
_v | The target of the edge |
Implements EdgeValidityCheckerMethod.
|
overridevirtual |
Initialize this object for the current MPProblem. This should reset any internal state of the algorithms so that they are ready for execution. It is also the place to initialize any state that depends on the current problem.
Implements EdgeValidityCheckerMethod.
|
overridevirtual |
Cfg version of ValidateEdge.
Implements EdgeValidityCheckerMethod.
|
overridevirtual |
Checks the validity of an edge using a set of intermediate cfgs each validated independently.
_u | The source of the edge to validate |
_v | The target of the edge to validate |
_collisions | An empty container that will be populated with a list of indices of obstacles with which the edge collides. |
Implements EdgeValidityCheckerMethod.