AURobotServers
4
|
#include <ulaserdataset.h>
Public Member Functions | |
ULineSegment * | getEdgeLeft () |
bool | getEdgeLeftValid () |
ULineSegment * | getEdgeRight () |
bool | getEdgeRightValid () |
ULineSegment * | getEdgeTop () |
bool | getEdgeTopValid () |
UManSeq * | getManSeq () |
ULineSegment * | getPassLine (int index) |
int | getPassLinesCnt () |
UPosition * | getRoute (int index) |
int | getRouteCnt () |
bool | isPassingAWall () |
bool | isPathCrashed () |
bool | isPathUsed () |
bool | setFromTag (USmlTag *tag) |
ULaserPathResult () | |
~ULaserPathResult () | |
Private Attributes | |
ULineSegment | edgeLeft |
bool | edgeLeftValid |
ULineSegment | edgeRight |
bool | edgeRightValid |
ULineSegment | edgeTop |
bool | edgeTopValid |
bool | isACrash |
bool | isAWall |
UManSeq * | man |
ULineSegment | passLines [MAX_PASSABLE_LINE_SEGMENTS] |
int | passLinesCnt |
bool | pathUsed |
UPosition | route [MAX_PASSABLE_LINE_SEGMENTS] |
int | routeCnt |
Class to hold result of laser scanner path evaluation. All data is in (odometer) map coordinates
ULaserPathResult::ULaserPathResult | ( | ) |
Constructor
ULaserPathResult::~ULaserPathResult | ( | ) |
Destructor
|
inline |
Get pointer to edge
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Get validity of edge
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Get pointer to edge
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Get validity of edge
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Get pointer to edge
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Get validity of edge
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Get manoeuvre sequence
Referenced by UClientFuncLaser::handlePath(), and UClientFuncLaserGui::paintPathData().
|
inline |
Get passable line with this index. Returns pointer to passable line segment.
Referenced by UClientFuncLaserGui::doImage(), and UClientFuncLaserGui::paintPathData().
|
inline |
Get number of passable lines in path
Referenced by UClientFuncLaserGui::doImage(), and UClientFuncLaserGui::paintPathData().
|
inline |
Get obstacle avoidance route value
References route.
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
get count of route points
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Is route passing a wall
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Is this route terminated in a crash
References ULaserData::setFromTag().
Referenced by UClientFuncLaserGui::paintPathData().
|
inline |
Is this route actually used for control
Referenced by UClientFuncLaserGui::doImage(), and UClientFuncLaserGui::paintPathData().
bool ULaserPathResult::setFromTag | ( | USmlTag * | tag | ) |
Decode a full path starting with the provided tag, and the rest taken from the provided connection
References USmlTag::getLineSegment(), USmlTag::getManSeq(), USmlTagIn::getNextAttribute(), USmlTag::getNextTag(), USmlTag::getPose(), USmlTag::getPosition(), USmlTagIn::getTagName(), UPose::h, USmlTagIn::isAStartTag(), USmlTagIn::isTagA(), USmlTagIn::isTagAnEnd(), MAX_PASSABLE_LINE_SEGMENTS, MAX_SML_NAME_LENGTH, USmlTagIn::reset(), route, str2bool(), UPose::x, and UPose::y.
Referenced by UClientFuncLaser::handlePath().
|
private |
Edge of path
|
private |
Is edge valid
|
private |
Left of path
|
private |
Is edge valid
|
private |
Left of path
|
private |
Is edge valid
|
private |
A debug flag to assist analysis of crash paths
|
private |
Is path passing a wall, i.e. at least 2 measurements where reply is stationary, while robot moves
|
private |
Most recent received manoeuvre list
|
private |
Passable line segments
|
private |
Count of valid passable line segments
|
private |
This is the used path
|
private |
Detected passable route
|
private |
Valid route points