ad_rss_map_integration
Public Member Functions | Static Public Member Functions | List of all members
ad::rss::map::RssSceneCreator Class Reference

class providing support to create and append RSS Scenes More...

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

Public Member Functions

 RssSceneCreator (RssSceneCreation::RestrictSpeedLimitMode const &restrictSpeedLimitMode, ::ad::map::landmark::LandmarkIdSet const &greenTrafficLights, RssSceneCreation &sceneCreation)
 constructor More...
 
 RssSceneCreator (RssSceneCreation &sceneCreation)
 overloaded constructor using default values More...
 
 ~RssSceneCreator ()=default
 standard destructor
 
bool appendNotRelevantScene (::ad::map::route::FullRoute const &route, RssObjectConversion::ConstPtr egoObject, RssObjectConversion::ConstPtr otherObject)
 append a not relevant scene More...
 
bool appendNonIntersectionScene (::ad::map::route::ConnectingRoute const &connectingRoute, ::ad::rss::situation::SituationType const &situationType, RssObjectConversion::ConstPtr egoObject, RssObjectConversion::ConstPtr otherObject)
 append a non intersection scene More...
 
bool appendMergingScene (::ad::map::route::ConnectingRoute const &connectingRoute, ::ad::rss::situation::SituationType const &situationType, RssObjectConversion::ConstPtr egoObject, RssObjectConversion::ConstPtr otherObject)
 append a merging scene More...
 
bool appendIntersectionScene (::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 scene More...
 
bool appendRoadBoundaryScenes (::ad::map::route::FullRoute const &egoRoute, RssObjectConversion::ConstPtr egoObject)
 append a road boundary scene More...
 
bool appendUnstructuredScene (RssObjectConversion::ConstPtr iEgoObject, RssObjectConversion::ConstPtr iOtherObject)
 

Static Public Member Functions

::ad::rss::world::ObjectId getRightBorderObjectId ()
 
::ad::rss::world::ObjectId getLeftBorderObjectId ()
 

Detailed Description

class providing support to create and append RSS Scenes

Constructor & Destructor Documentation

◆ RssSceneCreator() [1/2]

ad::rss::map::RssSceneCreator::RssSceneCreator ( RssSceneCreation::RestrictSpeedLimitMode const &  restrictSpeedLimitMode,
::ad::map::landmark::LandmarkIdSet const &  greenTrafficLights,
RssSceneCreation sceneCreation 
)

constructor

Parameters
[in]restrictSpeedLimitModethe mode to select the behavior of objectRssDynamics.maxSpeedOnAcceleration 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]sceneCreation the scene creation object managing the world model where the newly created scenes are appended

◆ RssSceneCreator() [2/2]

ad::rss::map::RssSceneCreator::RssSceneCreator ( RssSceneCreation sceneCreation)
explicit

overloaded constructor using default values

Parameters
[in/out]sceneCreation the scene creation object managing the world model where the newly created scenes are appended

Member Function Documentation

◆ appendIntersectionScene()

bool ad::rss::map::RssSceneCreator::appendIntersectionScene ( ::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 scene

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 scene succeeded.

◆ appendMergingScene()

bool ad::rss::map::RssSceneCreator::appendMergingScene ( ::ad::map::route::ConnectingRoute const &  connectingRoute,
::ad::rss::situation::SituationType const &  situationType,
RssObjectConversion::ConstPtr  egoObject,
RssObjectConversion::ConstPtr  otherObject 
)

append a merging scene

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

◆ appendNonIntersectionScene()

bool ad::rss::map::RssSceneCreator::appendNonIntersectionScene ( ::ad::map::route::ConnectingRoute const &  connectingRoute,
::ad::rss::situation::SituationType const &  situationType,
RssObjectConversion::ConstPtr  egoObject,
RssObjectConversion::ConstPtr  otherObject 
)

append a non intersection scene

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

◆ appendNotRelevantScene()

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

append a not relevant scene

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 scene succeeded.

◆ appendRoadBoundaryScenes()

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

append a road boundary scene

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

◆ getLeftBorderObjectId()

::ad::rss::world::ObjectId ad::rss::map::RssSceneCreator::getLeftBorderObjectId ( )
inlinestatic
Returns
the constant ObjectId of the virtual left border

◆ getRightBorderObjectId()

::ad::rss::world::ObjectId ad::rss::map::RssSceneCreator::getRightBorderObjectId ( )
inlinestatic
Returns
the constant ObjectId of the virtual right border

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