ad_rss
Classes | Typedefs | Enumerations | Functions
ad::rss::state Namespace Reference

namespace state More...

Classes

struct  AccelerationRestriction
 DataType AccelerationRestriction. More...
 
struct  HeadingRange
 DataType HeadingRange. More...
 
struct  LateralRssState
 DataType LateralRssState. More...
 
struct  LongitudinalRssState
 DataType LongitudinalRssState. More...
 
struct  ProperResponse
 DataType ProperResponse. More...
 
struct  RssState
 DataType RssState. More...
 
struct  RssStateInformation
 DataType RssStateInformation. More...
 
struct  RssStateSnapshot
 DataType RssStateSnapshot. More...
 
struct  UnstructuredSceneRssState
 DataType UnstructuredSceneRssState. More...
 
struct  UnstructuredSceneStateInformation
 DataType UnstructuredSceneStateInformation. More...
 

Typedefs

typedef std::vector<::ad::rss::state::HeadingRangeHeadingRangeVector
 DataType HeadingRangeVector. More...
 
typedef std::vector<::ad::rss::state::RssStateRssStateVector
 DataType RssStateVector. More...
 

Enumerations

enum  LateralResponse : int32_t { LateralResponse::None = 0, LateralResponse::BrakeMin = 1 }
 DataType LateralResponse. More...
 
enum  LongitudinalResponse : int32_t { LongitudinalResponse::None = 0, LongitudinalResponse::BrakeMinCorrect = 1, LongitudinalResponse::BrakeMin = 2 }
 DataType LongitudinalResponse. More...
 
enum  RssStateEvaluator : int32_t {
  RssStateEvaluator::None = 0, RssStateEvaluator::LongitudinalDistanceOppositeDirectionEgoCorrectLane = 1, RssStateEvaluator::LongitudinalDistanceOppositeDirection = 2, RssStateEvaluator::LongitudinalDistanceSameDirectionEgoFront = 3,
  RssStateEvaluator::LongitudinalDistanceSameDirectionOtherInFront = 4, RssStateEvaluator::LateralDistance = 5, RssStateEvaluator::IntersectionOtherPriorityEgoAbleToStop = 6, RssStateEvaluator::IntersectionEgoPriorityOtherAbleToStop = 7,
  RssStateEvaluator::IntersectionEgoInFront = 8, RssStateEvaluator::IntersectionOtherInFront = 9, RssStateEvaluator::IntersectionOverlap = 10
}
 DataType RssStateEvaluator. More...
 
enum  UnstructuredSceneResponse : int32_t { UnstructuredSceneResponse::None = 0, UnstructuredSceneResponse::ContinueForward = 1, UnstructuredSceneResponse::DriveAway = 2, UnstructuredSceneResponse::Brake = 3 }
 DataType UnstructuredSceneResponse. More...
 

Functions

std::ostream & operator<< (std::ostream &os, AccelerationRestriction const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, HeadingRange const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, LateralResponse const &value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, LateralRssState const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, LongitudinalResponse const &value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, LongitudinalRssState const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, ProperResponse const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, RssState const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, RssStateEvaluator const &value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, RssStateInformation const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, RssStateSnapshot const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, UnstructuredSceneResponse const &value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, UnstructuredSceneRssState const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, UnstructuredSceneStateInformation const &_value)
 standard ostream operator More...
 
bool isLongitudinalSafe (RssState const &rssState)
 is rss state longitudinal safe More...
 
bool isLateralSafe (RssState const &rssState)
 is rss state lateral safe More...
 
bool isUnstructuredSceneSafe (RssState const &rssState)
 is rss unstructured scene state safe More...
 
bool isDangerous (RssState const &rssState)
 is rss state dangerous More...
 

Detailed Description

namespace state

namespace for RSS state datatypes and operations

Typedef Documentation

◆ HeadingRangeVector

DataType HeadingRangeVector.

A vector of heading ranges.

◆ RssStateVector

DataType RssStateVector.

A vector of RSS states.

Enumeration Type Documentation

◆ LateralResponse

enum ad::rss::state::LateralResponse : int32_t
strong

DataType LateralResponse.

Enumeration defining the possible lateral responses. Be aware: there has to be a strict order of the enumeration values according to the strictness of the response.

Enumerator
None 

No action required.

BrakeMin 

Vehicle has to decerate at least with brake min laterally

◆ LongitudinalResponse

enum ad::rss::state::LongitudinalResponse : int32_t
strong

DataType LongitudinalResponse.

Enumeration defining the possible longitudinal responses. Be aware: there has to be a strict order of the enumeration values according to the strictness of the response.

Enumerator
None 

No action required.

BrakeMinCorrect 

Vehicle has to decerate at least with brake min correct longitudinally

BrakeMin 

Vehicle has to decerate at least with brake min longitudinally

◆ RssStateEvaluator

enum ad::rss::state::RssStateEvaluator : int32_t
strong

DataType RssStateEvaluator.

The method used to evaluate the respone.

Enumerator
None 

Not evaluated.

LongitudinalDistanceOppositeDirectionEgoCorrectLane 

longitudinal, opposite direction, correct lane

LongitudinalDistanceOppositeDirection 

longitudinal, opposite direction

LongitudinalDistanceSameDirectionEgoFront 

longitudinal, same direction, ego in front

LongitudinalDistanceSameDirectionOtherInFront 

longitudinal, same direction, ego at back

LateralDistance 

lateral

IntersectionOtherPriorityEgoAbleToStop 

intersection, other has prio, ego can stop

IntersectionEgoPriorityOtherAbleToStop 

intersection, ego has prio, other can stop

IntersectionEgoInFront 

intersection, ego in front

IntersectionOtherInFront 

intersection, other in front

IntersectionOverlap 

intersection, overlap

◆ UnstructuredSceneResponse

DataType UnstructuredSceneResponse.

Enumerator
None 

No response.

ContinueForward 

The object is allowed to continue forward.

DriveAway 

The object is allowed to drive away within the calculated heading range.

Brake 

The vehicle has to brake.

Function Documentation

◆ isDangerous()

bool ad::rss::state::isDangerous ( RssState const &  rssState)
inline

is rss state dangerous

Parameters
[in]rssStateto check

true if dangerous, false if not

◆ isLateralSafe()

bool ad::rss::state::isLateralSafe ( RssState const &  rssState)
inline

is rss state lateral safe

Parameters
[in]rssStateto check

true if safe, false if not

◆ isLongitudinalSafe()

bool ad::rss::state::isLongitudinalSafe ( RssState const &  rssState)
inline

is rss state longitudinal safe

Parameters
[in]rssStateto check

true if safe, false if not

◆ isUnstructuredSceneSafe()

bool ad::rss::state::isUnstructuredSceneSafe ( RssState const &  rssState)
inline

is rss unstructured scene state safe

Parameters
[in]rssStateto check

true if safe, false if not

◆ operator<<() [1/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
AccelerationRestriction const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueAccelerationRestriction value
Returns
The stream object.

◆ operator<<() [2/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
HeadingRange const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueHeadingRange value
Returns
The stream object.

◆ operator<<() [3/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
LateralResponse const &  value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]valueLateralResponse value
Returns
The stream object.

◆ operator<<() [4/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
LateralRssState const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueLateralRssState value
Returns
The stream object.

◆ operator<<() [5/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
LongitudinalResponse const &  value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]valueLongitudinalResponse value
Returns
The stream object.

◆ operator<<() [6/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
LongitudinalRssState const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueLongitudinalRssState value
Returns
The stream object.

◆ operator<<() [7/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
ProperResponse const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueProperResponse value
Returns
The stream object.

◆ operator<<() [8/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
RssState const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueRssState value
Returns
The stream object.

◆ operator<<() [9/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
RssStateEvaluator const &  value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]valueRssStateEvaluator value
Returns
The stream object.

◆ operator<<() [10/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
RssStateInformation const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueRssStateInformation value
Returns
The stream object.

◆ operator<<() [11/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
RssStateSnapshot const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueRssStateSnapshot value
Returns
The stream object.

◆ operator<<() [12/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
UnstructuredSceneResponse const &  value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]valueUnstructuredSceneResponse value
Returns
The stream object.

◆ operator<<() [13/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
UnstructuredSceneRssState const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueUnstructuredSceneRssState value
Returns
The stream object.

◆ operator<<() [14/14]

std::ostream& ad::rss::state::operator<< ( std::ostream &  os,
UnstructuredSceneStateInformation const &  _value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]_valueUnstructuredSceneStateInformation value
Returns
The stream object.