AURobotServers
4
|
#include <uavoidcellgraph.h>
Public Member Functions | |
bool | isFwd () |
UAvoidCellVertex () | |
Public Attributes | |
bool | avoidLeft |
U2Dseg | exitSeg |
bool | finished |
int | nextIdx |
UAvoidObst * | obst |
UPosition | pos |
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.
|
inline |
Constructor
References UAvoidVertexCost::avoidLeft.
|
inline |
Is the next direction forward to a more positive x-value
Referenced by UAvoidCellGraph::findCellPointPath().
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 |
Vertex position
Referenced by UAvoidPath2::createCellBasedPointList(), and UAvoidCellGraph::findCellPointPath().