namespace situation
More...
|
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...
|
|
◆ SituationId
DataType SituationId.
The unique id of an situation over time.
◆ SituationVector
DataType SituationVector.
A vector of situations.
◆ 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
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.
|
◆ operator<<() [1/8]
standard ostream operator
- Parameters
-
[in] | os | The output stream to write to |
[in] | value | LateralRelativePosition value |
- Returns
- The stream object.
◆ operator<<() [2/8]
standard ostream operator
- Parameters
-
[in] | os | The output stream to write to |
[in] | value | LongitudinalRelativePosition 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
-
- 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] | os | The output stream to write to |
[in] | _value | Situation 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
-
- 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] | os | The output stream to write to |
[in] | value | SituationType 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] | os | The output stream to write to |
[in] | _value | VehicleState 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] | os | The output stream to write to |
[in] | _value | VelocityRange value |
- Returns
- The stream object.