Loading...
Searching...
No Matches
ompl::control::KPIECE1::CloseSample Struct Reference

Information about a known good sample (closer to the goal than others) More...

#include <ompl/control/planners/kpiece/KPIECE1.h>

Public Member Functions

 CloseSample (Grid::Cell *c, Motion *m, double d)
 Constructor fully initializes the content of this structure.
bool operator< (const CloseSample &other) const
 Sort samples in accordance to their distance to the goal.

Public Attributes

Grid::Cellcell
 The cell of the motion that is close to the goal.
Motionmotion
 The motion that is close to the goal.
double distance
 The distance to the goal. This value is increased over time, as the number of selections for this sample increases.

Detailed Description

Information about a known good sample (closer to the goal than others)

Definition at line 270 of file KPIECE1.h.

Constructor & Destructor Documentation

◆ CloseSample()

ompl::control::KPIECE1::CloseSample::CloseSample ( Grid::Cell * c,
Motion * m,
double d )
inline

Constructor fully initializes the content of this structure.

Definition at line 273 of file KPIECE1.h.

Member Function Documentation

◆ operator<()

bool ompl::control::KPIECE1::CloseSample::operator< ( const CloseSample & other) const
inline

Sort samples in accordance to their distance to the goal.

Definition at line 288 of file KPIECE1.h.

Member Data Documentation

◆ cell

Grid::Cell* ompl::control::KPIECE1::CloseSample::cell

The cell of the motion that is close to the goal.

Definition at line 278 of file KPIECE1.h.

◆ distance

double ompl::control::KPIECE1::CloseSample::distance

The distance to the goal. This value is increased over time, as the number of selections for this sample increases.

Definition at line 285 of file KPIECE1.h.

◆ motion

Motion* ompl::control::KPIECE1::CloseSample::motion

The motion that is close to the goal.

Definition at line 281 of file KPIECE1.h.


The documentation for this struct was generated from the following file: