PlannerData.h
171 };
void decoupleFromPlanner() override
Creates a deep copy of the states contained in the vertices of this PlannerData structure so that whe...
Definition: PlannerData.cpp:115
const Control * getControl() const
Return the control associated with this edge.
Definition: PlannerData.h:177
A shared pointer wrapper for ompl::base::SpaceInformation.
bool removeEdge(unsigned int v1, unsigned int v2) override
Removes the edge between vertex indexes v1 and v2. Success is returned.
Definition: PlannerData.cpp:79
base::PlannerDataEdge * clone() const override
Return a clone of this object, allocated from the heap.
Definition: PlannerData.h:171
bool removeVertex(const base::PlannerDataVertex &st) override
Removes the vertex associated with the given data. If the vertex does not exist, false is returned....
Definition: PlannerData.cpp:54
double getDuration() const
Return the duration associated with this edge.
Definition: PlannerData.h:182
bool hasControls() const override
Returns true if this PlannerData instance has controls associated with it.
Definition: PlannerData.cpp:145
const SpaceInformationPtr & getSpaceInformation() const
Return the instance of SpaceInformation used in this PlannerData.
Definition: PlannerData.cpp:140
PlannerDataEdgeControl(const Control *c, double duration)
Constructor. Accepts a control pointer and a duration.
Definition: PlannerData.h:160
SpaceInformationPtr siC_
The instance of control::SpaceInformation associated with this data.
Definition: PlannerData.h:228
std::chrono::system_clock::duration duration
Representation of a time duration.
Definition: Time.h:119
std::set< Control * > decoupledControls_
A list of controls that are allocated during the decoupleFromPlanner method. These controls are freed...
Definition: PlannerData.h:231
PlannerData(const SpaceInformationPtr &siC)
Constructor. Accepts a SpaceInformationPtr for the space planned in.
Definition: PlannerData.cpp:39