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

namespace situation More...

Classes

struct  RelativePosition
 DataType RelativePosition. More...
 
struct  Situation
 DataType Situation. More...
 
struct  SituationSnapshot
 DataType SituationSnapshot. More...
 
struct  VehicleState
 DataType VehicleState. More...
 
struct  VelocityRange
 DataType VelocityRange. More...
 

Typedefs

typedef uint64_t SituationId
 DataType SituationId. More...
 
typedef std::vector<::ad::rss::situation::SituationSituationVector
 DataType SituationVector. More...
 

Enumerations

enum  LateralRelativePosition : int32_t {
  LateralRelativePosition::AtLeft = 0, LateralRelativePosition::OverlapLeft = 1, LateralRelativePosition::Overlap = 2, LateralRelativePosition::OverlapRight = 3,
  LateralRelativePosition::AtRight = 4
}
 DataType LateralRelativePosition. More...
 
enum  LongitudinalRelativePosition : int32_t {
  LongitudinalRelativePosition::InFront = 0, LongitudinalRelativePosition::OverlapFront = 1, LongitudinalRelativePosition::Overlap = 2, LongitudinalRelativePosition::OverlapBack = 3,
  LongitudinalRelativePosition::AtBack = 4
}
 DataType LongitudinalRelativePosition. More...
 
enum  SituationType : int32_t {
  SituationType::NotRelevant = 0, SituationType::SameDirection = 1, SituationType::OppositeDirection = 2, SituationType::IntersectionEgoHasPriority = 3,
  SituationType::IntersectionObjectHasPriority = 4, SituationType::IntersectionSamePriority = 5, SituationType::Unstructured = 6
}
 DataType SituationType. More...
 

Functions

std::ostream & operator<< (std::ostream &os, LateralRelativePosition const &value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, LongitudinalRelativePosition const &value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, RelativePosition const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, Situation const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, SituationSnapshot const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, SituationType const &value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, VehicleState const &_value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, VelocityRange const &_value)
 standard ostream operator More...
 

Detailed Description

namespace situation

Typedef Documentation

◆ SituationId

DataType SituationId.

The unique id of an situation over time.

◆ SituationVector

DataType SituationVector.

A vector of situations.

Enumeration Type Documentation

◆ LateralRelativePosition

DataType LateralRelativePosition.

Enumeration describing the relative lateral position between two objects, a and b, within their situation coordinate system.

Enumerator
AtLeft 

The object a is completely left of object b. This means there is an actual lateral space between them.

OverlapLeft 

The objects overlap. The left border of object a is left of the left border of object b AND the right border of object a is left of the right border of object b.

Overlap 

The objects overlap, but neither the conditions for OverlapLeft nor OverlapRight are applicable.

OverlapRight 

The objects overlap. The left border of object a is right of the left border of object b AND the right border of object a is right of the right border of object b.

AtRight 

The object a is completely right of object b. This means there is an actual lateral space between them.

◆ LongitudinalRelativePosition

DataType LongitudinalRelativePosition.

Enumeration describing the relative longitudinal position between two objects, a and b, within their situation coordinate system.

Enumerator
InFront 

The object a is completely in front of object b. This means there is an actual longitudinal space between them.

OverlapFront 

The objects overlap. The front border of object a is in front of the front border of object b AND the back border of object a is in front of the back border of object b.

Overlap 

The objects overlap, but neither the conditions for OverlapFront nor OverlapBack are applicable.

OverlapBack 

The objects overlap. The front border of object a is at back of the front border of object b AND the back border of object a is at back of the back border of object b.

AtBack 

The object a is completely at back of object b. This means there is an actual longitudinal space between them.

◆ SituationType

enum ad::rss::situation::SituationType : int32_t
strong

DataType SituationType.

Enumeration describing the type of situation.

Enumerator
NotRelevant 

The other vehicle cannot conflict with the ego vehicle. This kind of situations are always considered to be safe. Use this situation state to make the object visible in the result vector to be a known object, but not relevant for RSS (e.g. object in opposite direction, but already passed by).

SameDirection 

Both drive on the same road in the same direction.

OppositeDirection 

Both drive on the same road in the opposite direction.

IntersectionEgoHasPriority 

Both drive on individual roads which intersect at the end. Ego vehicle has priority over object.

IntersectionObjectHasPriority 

Both drive on individual roads which intersect at the end. Object has priority over ego vehicle.

IntersectionSamePriority 

Both drive on individual roads which intersect at the end. Object and ego vehicle have same priority.

Unstructured 

An unstructured scene constellation.

Function Documentation

◆ operator<<() [1/8]

std::ostream& ad::rss::situation::operator<< ( std::ostream &  os,
LateralRelativePosition const &  value 
)
inline

standard ostream operator

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

◆ operator<<() [2/8]

std::ostream& ad::rss::situation::operator<< ( std::ostream &  os,
LongitudinalRelativePosition const &  value 
)
inline

standard ostream operator

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

◆ operator<<() [3/8]

std::ostream& ad::rss::situation::operator<< ( std::ostream &  os,
RelativePosition const &  _value 
)
inline

standard ostream operator

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

◆ operator<<() [4/8]

std::ostream& ad::rss::situation::operator<< ( std::ostream &  os,
Situation const &  _value 
)
inline

standard ostream operator

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

◆ operator<<() [5/8]

std::ostream& ad::rss::situation::operator<< ( std::ostream &  os,
SituationSnapshot const &  _value 
)
inline

standard ostream operator

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

◆ operator<<() [6/8]

std::ostream& ad::rss::situation::operator<< ( std::ostream &  os,
SituationType const &  value 
)
inline

standard ostream operator

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

◆ operator<<() [7/8]

std::ostream& ad::rss::situation::operator<< ( std::ostream &  os,
VehicleState const &  _value 
)
inline

standard ostream operator

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

◆ operator<<() [8/8]

std::ostream& ad::rss::situation::operator<< ( std::ostream &  os,
VelocityRange const &  _value 
)
inline

standard ostream operator

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