AURobotServers
4
|
#include <ulaserdataset.h>
Public Member Functions | |
void | clear () |
UPosition | getLeftPos () |
UPosition | getLeftSide () |
UPosition | getRightPos () |
UPosition | getRightSide () |
UPosition | getTopPos () |
bool | setFromTag (USmlTag *tag) |
UClientLaserPi () | |
~UClientLaserPi () | |
Private Attributes | |
double | leftAngle |
UPosition | leftPos |
UPosition | leftSide |
int | linksCnt |
double | rightAngle |
UPosition | rightPos |
UPosition | rightSide |
UPosition | topPos |
class to hold a passable interval position in a laserscan.
UClientLaserPi::UClientLaserPi | ( | ) |
Constructor
UClientLaserPi::~UClientLaserPi | ( | ) |
Destructor
void UClientLaserPi::clear | ( | void | ) |
Clear and set positions to 0.0
|
inline |
Get left position
Referenced by UNavPaint::paintPis(), and UNavView::paintPis().
|
inline |
Get left side of road (half robot distance from edge)
Referenced by UNavPaint::paintPis().
|
inline |
Get right position
Referenced by UNavPaint::paintPis(), and UNavView::paintPis().
|
inline |
Get right side of road (half robot distance from edge)
Referenced by UNavPaint::paintPis().
|
inline |
Get top position
Referenced by UNavPaint::paintPis().
bool UClientLaserPi::setFromTag | ( | USmlTag * | tag | ) |
Set passable interval from tag
References ULaserDataSet::clear(), USmlTagIn::getNextAttribute(), MAX_SML_NAME_LENGTH, ULaserDataSet::ULaserDataSet(), and ULaserDataSet::~ULaserDataSet().
Referenced by UResLaserIfScan::handleLaserScan().
|
private |
Left angle of interval
|
private |
3D Position of left edge of interval
|
private |
Right side (half robot distance)
|
private |
Number of links from this passable interval to other passable intervals in previous scan
|
private |
Right angle of interval
|
private |
3D position of right edge of interval
|
private |
Left side (half robot distance)
|
private |
Top of road