ad_rss
Public Types | Public Member Functions | Public Attributes | List of all members
ad::rss::core::RelativeConstellation Struct Reference

DataType RelativeConstellation. More...

#include <ad/rss/core/RelativeConstellation.hpp>

Collaboration diagram for ad::rss::core::RelativeConstellation:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< RelativeConstellationPtr
 Smart pointer on RelativeConstellation.
 
typedef std::shared_ptr< RelativeConstellation const > ConstPtr
 Smart pointer on constant RelativeConstellation.
 

Public Member Functions

 RelativeConstellation ()=default
 standard constructor
 
 ~RelativeConstellation ()=default
 standard destructor
 
 RelativeConstellation (const RelativeConstellation &other)=default
 standard copy constructor
 
 RelativeConstellation (RelativeConstellation &&other)=default
 standard move constructor
 
RelativeConstellationoperator= (const RelativeConstellation &other)=default
 standard assignment operator More...
 
RelativeConstellationoperator= (RelativeConstellation &&other)=default
 standard move operator More...
 
bool operator== (const RelativeConstellation &other) const
 standard comparison operator More...
 
bool operator!= (const RelativeConstellation &other) const
 standard comparison operator More...
 

Public Attributes

::ad::rss::world::ObjectId ego_id {0}
 
::ad::rss::world::ObjectId object_id {0}
 
::ad::rss::core::RelativeConstellationId constellation_id {0}
 
::ad::rss::world::ConstellationType constellation_type {::ad::rss::world::ConstellationType::NotRelevant}
 
::ad::rss::core::RelativeObjectState ego_state
 
::ad::rss::core::RelativeObjectState other_state
 
::ad::rss::core::RelativePosition relative_position
 
::ad::rss::world::WorldModelIndexVector world_model_indices
 

Detailed Description

DataType RelativeConstellation.

Describes a RSS constellation within the constellation specific lane coordinate system. A constellation always considers the relative relation between two objects: the ego vehicle and one other vehicle. The constellation lane coordinate system is unique for one specific constellation. As a consequence the vehicle state of the ego vehicle in different RSS constellations cannot be compared to each other. Consists of a constellation id and type, the VehicleState of the ego vehicle, the VehicleState of the other vehicle and the RelativePosition between ego vehicle and other vehicle.

Member Function Documentation

◆ operator!=()

bool ad::rss::core::RelativeConstellation::operator!= ( const RelativeConstellation other) const
inline

standard comparison operator

Parameters
[in]otherOther RelativeConstellation.
Returns
true if both RelativeConstellation are different

◆ operator=() [1/2]

RelativeConstellation& ad::rss::core::RelativeConstellation::operator= ( const RelativeConstellation other)
default

standard assignment operator

Parameters
[in]otherOther RelativeConstellation
Returns
Reference to this RelativeConstellation.

◆ operator=() [2/2]

RelativeConstellation& ad::rss::core::RelativeConstellation::operator= ( RelativeConstellation &&  other)
default

standard move operator

Parameters
[in]otherOther RelativeConstellation
Returns
Reference to this RelativeConstellation.

◆ operator==()

bool ad::rss::core::RelativeConstellation::operator== ( const RelativeConstellation other) const
inline

standard comparison operator

Parameters
[in]otherOther RelativeConstellation
Returns
true if both RelativeConstellation are equal

Member Data Documentation

◆ constellation_id

::ad::rss::core::RelativeConstellationId ad::rss::core::RelativeConstellation::constellation_id {0}

The unique id of the constellation. The constellation id has to be constant over time for a pair of ego vehicle and specific constellation between another vehicle.

◆ constellation_type

::ad::rss::world::ConstellationType ad::rss::core::RelativeConstellation::constellation_type {::ad::rss::world::ConstellationType::NotRelevant}

The type of the current constellation.

◆ ego_id

::ad::rss::world::ObjectId ad::rss::core::RelativeConstellation::ego_id {0}

Defines the unique id of the ego. This id has to be constant over time.

◆ ego_state

::ad::rss::core::RelativeObjectState ad::rss::core::RelativeConstellation::ego_state

The vehicle state of the ego vehicle within the constellation specific lane coordinate system.

◆ object_id

::ad::rss::world::ObjectId ad::rss::core::RelativeConstellation::object_id {0}

Defines the unique id of an object. This id has to be constant over time for the same object.

◆ other_state

::ad::rss::core::RelativeObjectState ad::rss::core::RelativeConstellation::other_state

The vehicle state of the other vehicle within the constellation specific lane coordinate system.

◆ relative_position

::ad::rss::core::RelativePosition ad::rss::core::RelativeConstellation::relative_position

The relative position between the ego vehicle and the other vehicle within the constellation specific lane coordinate system.

◆ world_model_indices

::ad::rss::world::WorldModelIndexVector ad::rss::core::RelativeConstellation::world_model_indices

The indices of the input Constellation within the WorldModel.constellations ConstellationVector which this RelativeConstellation is based on.


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