AURobotServers  4
Public Member Functions | Public Attributes | List of all members
UAvoidCellVertex Class Reference

#include <uavoidcellgraph.h>

Public Member Functions

bool isFwd ()
 
 UAvoidCellVertex ()
 

Public Attributes

bool avoidLeft
 
U2Dseg exitSeg
 
bool finished
 
int nextIdx
 
UAvoidObstobst
 
UPosition pos
 

Detailed Description

Path result entry, with all vertices in the path from start to end pose It holds the vertex points and the reference to obstcles as well as position and vertex number on the obstace, and if it is to be avoided left (to the left of the obstacle) or right.

Constructor & Destructor Documentation

UAvoidCellVertex::UAvoidCellVertex ( )
inline

Constructor

References UAvoidVertexCost::avoidLeft.

Member Function Documentation

bool UAvoidCellVertex::isFwd ( )
inline

Is the next direction forward to a more positive x-value

Referenced by UAvoidCellGraph::findCellPointPath().

Member Data Documentation

bool UAvoidCellVertex::avoidLeft

Should it be avoided left or right

Referenced by UAvoidPath2::createCellBasedPointList(), and UAvoidCellGraph::findCellPointPath().

U2Dseg UAvoidCellVertex::exitSeg

Opening segment when leaving the cell. This is not relevant for the last cell.

Referenced by UAvoidCellGraph::findCellPointPath().

bool UAvoidCellVertex::finished

Is the cell calculation finished

Referenced by UAvoidCellGraph::findCellPointPath().

int UAvoidCellVertex::nextIdx

The index to the next cell, to indicate the direction. 0 is back (negative x direction) most positive Y value 1 is back (negative x direction) to most negative Y value 2 is forward (positive x direction) to most positive Y value 3 is forward (positive x direction) to most negative Y value -1 if no next cell.

Referenced by UAvoidCellGraph::findCellPointPath().

UAvoidObst* UAvoidCellVertex::obst

Hit obstacle - NULL if no obstacle is hit

Referenced by UAvoidPath2::createCellBasedPointList(), and UAvoidCellGraph::findCellPointPath().

UPosition UAvoidCellVertex::pos

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