Class PlannerDataEdgeControl
Defined in File PlannerData.h
Inheritance Relationships
Base Type
public ompl::base::PlannerDataEdge
(Class PlannerDataEdge)
Class Documentation
-
class PlannerDataEdgeControl : public ompl::base::PlannerDataEdge
Representation of an edge in PlannerData for planning with controls. This structure encodes a specific control and a duration to apply the control.
Remark
If using PlannerDataEdgeControl in conjunction with PlannerDataStorage, (i.e., storing the PlannerData from a controls planner) you must export a GUID for PlannerDataEdgeControl so that the serializer can identify the derived edge class:
#include <boost/serialization/export.hpp> ... BOOST_CLASS_EXPORT(ompl::control::PlannerDataEdgeControl);
Public Functions
-
inline PlannerDataEdgeControl(const Control *c, double duration)
Constructor. Accepts a control pointer and a duration.
-
inline PlannerDataEdgeControl(const PlannerDataEdgeControl &rhs)
Copy constructor.
-
~PlannerDataEdgeControl() override = default
-
inline virtual base::PlannerDataEdge *clone() const override
Return a clone of this object, allocated from the heap.
-
inline double getDuration() const
Return the duration associated with this edge.
-
inline bool operator==(const PlannerDataEdge &rhs) const override
Protected Functions
-
PlannerDataEdgeControl() = default
Friends
- friend class boost::serialization::access
- friend class PlannerDataStorage
- friend class PlannerData
-
inline PlannerDataEdgeControl(const Control *c, double duration)