Emergency 20 Dokumentation  4.2.0
qsf::ai::steering::PathLookaheadResult Struct Reference

#include <PathLookaheadResult.h>

Public Types

enum  StoppingReason {
  NO_STOP, PATH_ENDS, MANEUVERING, PATH_LEFT,
  MISCONFIGURATION, HALTING_NODE, NODE_BLOCKED, AREA_BLOCKED
}
 

Public Member Functions

 PathLookaheadResult (UnsignedFloat brakingForceNeeded=UnsignedFloat::ZERO, Time timeLookedAhead=Time::ZERO, UnsignedFloat distanceLookedAhead=UnsignedFloat::ZERO, StoppingReason stoppingReason=NO_STOP)
 

Public Attributes

UnsignedFloat mBrakingForceNeeded
 
Time mTimeLookedAhead
 
UnsignedFloat mDistanceLookedAhead
 
StoppingReason mStoppingReason
 

Detailed Description

During steering path planning, a helper struct denoting the maximal acceleration needed to brake any path segment, the total lookahead of the path in seconds and distance units as well as a stopping reason.

Member Enumeration Documentation

Enumerator
NO_STOP 
PATH_ENDS 
MANEUVERING 
PATH_LEFT 
MISCONFIGURATION 
HALTING_NODE 
NODE_BLOCKED 
AREA_BLOCKED 

Constructor & Destructor Documentation

qsf::ai::steering::PathLookaheadResult::PathLookaheadResult ( UnsignedFloat  brakingForceNeeded = UnsignedFloat::ZERO,
Time  timeLookedAhead = Time::ZERO,
UnsignedFloat  distanceLookedAhead = UnsignedFloat::ZERO,
StoppingReason  stoppingReason = NO_STOP 
)
inline

Member Data Documentation

UnsignedFloat qsf::ai::steering::PathLookaheadResult::mBrakingForceNeeded
UnsignedFloat qsf::ai::steering::PathLookaheadResult::mDistanceLookedAhead
StoppingReason qsf::ai::steering::PathLookaheadResult::mStoppingReason
Time qsf::ai::steering::PathLookaheadResult::mTimeLookedAhead

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