Representation of an edge in PlannerData for planning with controls. This structure encodes a specific control and a duration to apply the control.
More...
#include <ompl/control/PlannerData.h>
|
| | PlannerDataEdgeControl (const Control *c, double duration) |
| | Constructor. Accepts a control pointer and a duration.
|
| | PlannerDataEdgeControl (const PlannerDataEdgeControl &rhs) |
| | Copy constructor.
|
| base::PlannerDataEdge * | clone () const override |
| | Return a clone of this object, allocated from the heap.
|
| const Control * | getControl () const |
| | Return the control associated with this edge.
|
| double | getDuration () const |
| | Return the duration associated with this edge.
|
| bool | operator== (const PlannerDataEdge &rhs) const override |
| virtual bool | operator== (const PlannerDataEdge &rhs) const |
| | Returns true if the edges point to the same memory.
|
| bool | operator!= (const PlannerDataEdge &rhs) const |
| | Returns true if the edges do not point to the same memory. This is the complement of the == operator.
|
|
| template<class Archive> |
| void | serialize (Archive &ar, const unsigned int) |
| template<class Archive> |
| void | serialize (Archive &, const unsigned int) |
Representation of an edge in PlannerData for planning with controls. This structure encodes a specific control and a duration to apply the control.
Definition at line 60 of file PlannerData.h.
◆ PlannerDataEdgeControl() [1/2]
| ompl::control::PlannerDataEdgeControl::PlannerDataEdgeControl |
( |
const Control * | c, |
|
|
double | duration ) |
|
inline |
Constructor. Accepts a control pointer and a duration.
Definition at line 64 of file PlannerData.h.
◆ PlannerDataEdgeControl() [2/2]
| ompl::control::PlannerDataEdgeControl::PlannerDataEdgeControl |
( |
const PlannerDataEdgeControl & | rhs | ) |
|
|
inline |
◆ clone()
◆ getControl()
| const Control * ompl::control::PlannerDataEdgeControl::getControl |
( |
| ) |
const |
|
inline |
Return the control associated with this edge.
Definition at line 80 of file PlannerData.h.
◆ getDuration()
| double ompl::control::PlannerDataEdgeControl::getDuration |
( |
| ) |
const |
|
inline |
Return the duration associated with this edge.
Definition at line 85 of file PlannerData.h.
◆ operator==()
| bool ompl::control::PlannerDataEdgeControl::operator== |
( |
const PlannerDataEdge & | rhs | ) |
const |
|
inlineoverride |
◆ serialize()
template<class Archive>
| void ompl::control::PlannerDataEdgeControl::serialize |
( |
Archive & | ar, |
|
|
const unsigned int | ) |
|
inlineprotected |
◆ boost::serialization::access
| friend class boost::serialization::access |
|
friend |
◆ PlannerData
◆ PlannerDataStorage
| friend class PlannerDataStorage |
|
friend |
◆ c_
| const Control* ompl::control::PlannerDataEdgeControl::c_ {nullptr} |
|
protected |
◆ duration_
| double ompl::control::PlannerDataEdgeControl::duration_ |
|
protected |
The documentation for this class was generated from the following file: