Class PathSection
Defined in File PathSection.h
Class Documentation
-
class PathSection
Representation of a path section (not necessarily feasible).
This class provides convenience methods to interpolate different path section over a given path restriction
Public Types
-
using Configuration = ompl::multilevel::BundleSpaceGraph::Configuration
Public Functions
-
PathSection() = delete
-
PathSection(PathRestriction*)
-
virtual ~PathSection()
-
void interpolateL2(HeadPtr&)
-
void interpolateL1FiberFirst(HeadPtr&)
Interpolate along restriction using L1 metric.
-
void interpolateL1FiberLast(HeadPtr&)
-
bool checkMotion(HeadPtr&)
Checks if section is feasible.
- Return values:
True – if feasible and false if only partially feasible
Basepathheadptr – Return last valid
-
void sanityCheck()
checks if section is feasible
-
void sanityCheck(HeadPtr&)
-
unsigned int size() const
-
Configuration *addFeasibleSegment(Configuration *xLast, base::State *sNext)
Add vertex for sNext and edge to xLast by assuming motion is valid
-
void addFeasibleGoalSegment(Configuration *xLast, Configuration *xGoal)
-
void print(std::ostream&) const
Protected Attributes
-
PathRestriction *restriction_
-
std::vector<int> sectionBaseStateIndices_
-
int lastValidIndexOnBasePath_
Friends
-
friend std::ostream &operator<<(std::ostream&, const PathSection&)
-
using Configuration = ompl::multilevel::BundleSpaceGraph::Configuration