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

#include <ureslaserifroad.h>

Inheritance diagram for URoadLineData:
Inheritance graph

Public Member Functions

void clear ()
 
virtual const char * getDataType ()
 
void update (const int type, const unsigned long serial, const double lineQ, ULineSegment *seg, unsigned long scan)
 
 URoadLineData ()
 
- Public Member Functions inherited from UDataBase
bool isA (const char *typeString)
 
virtual bool isAlsoA (const char *typeString)
 
virtual void snprint (const char *preString, char *buff, const int buffCnt)
 
 UDataBase ()
 
virtual ~UDataBase ()
 

Public Attributes

int edge
 
UPolygon400 edgeLine
 
ULineSegment line
 
double lineQuality
 
unsigned long lineSerial
 
unsigned long scanSerial
 
int updateCnt
 

Detailed Description

Relevant data for a road edge line

Constructor & Destructor Documentation

URoadLineData::URoadLineData ( )

Constructor

References clear().

Referenced by UResLaserIfRoad::updateLine().

Member Function Documentation

void URoadLineData::clear ( void  )
virtual const char* URoadLineData::getDataType ( )
inlinevirtual

Get (end) type of this structure

Reimplemented from UDataBase.

References clear(), scan, and update().

void URoadLineData::update ( const int  type,
const unsigned long  serial,
const double  lineQ,
ULineSegment seg,
unsigned long  scan 
)

Member Data Documentation

int URoadLineData::edge

Edge 0=left 1=center 2=right

Referenced by clear(), UNavPaint::paintRoadLine(), and update().

UPolygon400 URoadLineData::edgeLine

History positions for this line

Referenced by clear(), UResLaserIfRoad::methodCall(), UNavPaint::paintRoadLine(), and update().

ULineSegment URoadLineData::line

Estimated road line

Referenced by UResLaserIfRoad::methodCall(), UNavPaint::paintRoadLine(), and update().

double URoadLineData::lineQuality

newest Line quality

Referenced by UResLaserIfRoad::methodCall(), and update().

unsigned long URoadLineData::lineSerial

Unique serial number for road - for correlation at client end

Referenced by clear(), UResLaserIfRoad::clear(), UResLaserIfRoad::handleRoad(), and update().

unsigned long URoadLineData::scanSerial
int URoadLineData::updateCnt

Updated from this robot pose (and time) Number of updates to this line

Referenced by clear(), and update().


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