ad_rss_map_integration
Classes | Public Member Functions | List of all members
ad::rss::map::RssWorldModelCreator Class Reference

class providing support to create the RSS world model and append RSS Constellations More...

#include <ad/rss/map/RssWorldModelCreator.hpp>

Public Member Functions

 RssWorldModelCreator (RssRestrictSpeedLimitMode const &restrict_speed_limit_mode, ::ad::map::landmark::LandmarkIdSet const &greenTrafficLights, RssWorldModelCreation &worldModelCreation)
 constructor More...
 
 RssWorldModelCreator (RssWorldModelCreation &worldModelCreation)
 overloaded constructor using default values More...
 
 ~RssWorldModelCreator ()=default
 standard destructor
 
bool appendNotRelevantConstellation (::ad::map::route::FullRoute const &route, RssObjectConversion::ConstPtr egoObject, RssObjectConversion::ConstPtr otherObject)
 append a not relevant constellation More...
 
bool appendNonIntersectionConstellation (::ad::map::route::ConnectingRoute const &connectingRoute, world::ConstellationType const &constellation_type, RssObjectConversion::ConstPtr egoObject, RssObjectConversion::ConstPtr otherObject)
 append a non intersection constellation More...
 
bool appendMergingConstellation (::ad::map::route::ConnectingRoute const &connectingRoute, world::ConstellationType const &constellation_type, RssObjectConversion::ConstPtr egoObject, RssObjectConversion::ConstPtr otherObject)
 append a merging constellation More...
 
bool appendIntersectionConstellation (::ad::map::intersection::IntersectionPtr intersection, ::ad::map::route::FullRoute const &egoRoute, ::ad::map::route::FullRoute const &objectRoute, ::ad::map::route::FullRoute const &intersectionOtherRoute, RssObjectConversion::ConstPtr egoObject, RssObjectConversion::ConstPtr otherObject)
 append an intersection constellation More...
 
bool appendRoadBoundaryConstellations (::ad::map::route::FullRoute const &egoRoute, RssObjectConversion::ConstPtr egoObject)
 append a road boundary constellation More...
 
bool appendUnstructuredConstellation (RssObjectConversion::ConstPtr iEgoObject, RssObjectConversion::ConstPtr iOtherObject)
 

Detailed Description

class providing support to create the RSS world model and append RSS Constellations

Constructor & Destructor Documentation

◆ RssWorldModelCreator() [1/2]

ad::rss::map::RssWorldModelCreator::RssWorldModelCreator ( RssRestrictSpeedLimitMode const &  restrict_speed_limit_mode,
::ad::map::landmark::LandmarkIdSet const &  greenTrafficLights,
RssWorldModelCreation worldModelCreation 
)

constructor

Parameters
[in]restrict_speed_limit_modethe mode to select the behavior of object_rss_dynamics.max_speed_on_acceleration and egoMaxSpeedOnAcceleration parameter
[in]greenTrafficLightsthe list of known green traffic lights. Required to derive the correct priority rule for the ego vehicle when approaching a traffic light intersection.
[in/out]worldModelCreation the world model creation object managing the world model where the newly created constellations are appended

◆ RssWorldModelCreator() [2/2]

ad::rss::map::RssWorldModelCreator::RssWorldModelCreator ( RssWorldModelCreation worldModelCreation)
explicit

overloaded constructor using default values

Parameters
[in/out]worldModelCreation the world model creation object managing the world model where the newly created constellations are appended

Member Function Documentation

◆ appendIntersectionConstellation()

bool ad::rss::map::RssWorldModelCreator::appendIntersectionConstellation ( ::ad::map::intersection::IntersectionPtr  intersection,
::ad::map::route::FullRoute const &  egoRoute,
::ad::map::route::FullRoute const &  objectRoute,
::ad::map::route::FullRoute const &  intersectionOtherRoute,
RssObjectConversion::ConstPtr  egoObject,
RssObjectConversion::ConstPtr  otherObject 
)

append an intersection constellation

Parameters
[in]intersectionthe relevant intersection to consider
[in]egoRoutethe object route used to create the intersection object
[in]objectRoutethe object route interacting with the ego route in the intersection
[in]intersectionOtherRoutethe route the intersection was NOT created with (either egoRoute or objectRoute)
[in]egoObjectthe ego object basic information
[in]otherObjectthe other object basic information
Returns
true if appending of the constellation succeeded.

◆ appendMergingConstellation()

bool ad::rss::map::RssWorldModelCreator::appendMergingConstellation ( ::ad::map::route::ConnectingRoute const &  connectingRoute,
world::ConstellationType const &  constellation_type,
RssObjectConversion::ConstPtr  egoObject,
RssObjectConversion::ConstPtr  otherObject 
)

append a merging constellation

Parameters
[in]connectingRoutethe merging connectingRoute route of the ego and the other object
[in]constellation_typethe concrete constellation type (usually one of the ConstellationType::Intersection*)
[in]egoObjectthe ego object basic information
[in]otherObjectthe other object basic information
Returns
true if appending of the constellation succeeded.

◆ appendNonIntersectionConstellation()

bool ad::rss::map::RssWorldModelCreator::appendNonIntersectionConstellation ( ::ad::map::route::ConnectingRoute const &  connectingRoute,
world::ConstellationType const &  constellation_type,
RssObjectConversion::ConstPtr  egoObject,
RssObjectConversion::ConstPtr  otherObject 
)

append a non intersection constellation

Parameters
[in]connectingRoutethe connectingRoute route between the ego and the other object
[in]constellation_typethe concrete constellation type (ConstellationType::SameDirection or ConstellationType::OppositeDirection)
[in]egoObjectthe ego object basic information
[in]otherObjectthe other object basic information
Returns
true if appending of the constellation succeeded.

◆ appendNotRelevantConstellation()

bool ad::rss::map::RssWorldModelCreator::appendNotRelevantConstellation ( ::ad::map::route::FullRoute const &  route,
RssObjectConversion::ConstPtr  egoObject,
RssObjectConversion::ConstPtr  otherObject 
)

append a not relevant constellation

Parameters
[in]routethe full route of the ego object (allowed to be empty)
[in]egoObjectthe ego object basic information
[in]otherObjectthe other object basic information
Returns
true if appending of the constellation succeeded.

◆ appendRoadBoundaryConstellations()

bool ad::rss::map::RssWorldModelCreator::appendRoadBoundaryConstellations ( ::ad::map::route::FullRoute const &  egoRoute,
RssObjectConversion::ConstPtr  egoObject 
)

append a road boundary constellation

Parameters
[in]egoRoutethe object route used to create the intersection object
[in]egoObjectthe ego object basic information
Returns
true if appending of the constellation succeeded.

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