ad_rss_map_integration
Public Types | Public Member Functions | List of all members
ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE > Class Template Reference

Base class to access ego vehicle information required to perform the RSS checks in conjunction with the RssRouteChecker class. More...

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

Inheritance diagram for ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >:
Inheritance graph
[legend]
Collaboration diagram for ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< RssEgoVehicleAdapterPtr
 Smart pointer on RssEgoVehicleAdapter.
 
typedef std::shared_ptr< RssEgoVehicleAdapter const > ConstPtr
 Smart pointer on constant RssEgoVehicleAdapter.
 
- Public Types inherited from ad::rss::map::RssVehicleAdapter< OBJECT_INSTANCE_TYPE >
typedef std::shared_ptr< RssVehicleAdapterPtr
 Smart pointer on RssVehicleAdapter.
 
typedef std::shared_ptr< RssVehicleAdapter const > ConstPtr
 Smart pointer on constant RssVehicleAdapter.
 
enum class  RssRoutingTargetCommand { None , AppendTargets , ReplaceTargets }
 The mode to be applied on routing target operation. More...
 
- Public Types inherited from ad::rss::map::RssObjectAdapter< OBJECT_INSTANCE_TYPE >
typedef std::shared_ptr< RssObjectAdapterPtr
 Smart pointer on RssObjectAdapter.
 
typedef std::shared_ptr< RssObjectAdapter const > ConstPtr
 Smart pointer on constant RssObjectAdapter.
 
typedef RssObjectInstance< OBJECT_INSTANCE_TYPE >::Ptr ObjectInstancePtr
 
typedef RssObjectInstance< OBJECT_INSTANCE_TYPE >::ConstPtr ObjectInstanceConstPtr
 
- Public Types inherited from ad::rss::map::RssObjectAdapterData
typedef std::shared_ptr< RssObjectAdapterDataPtr
 Smart pointer on RssObjectAdapterData.
 
typedef std::shared_ptr< RssObjectAdapterData const > ConstPtr
 Smart pointer on constant RssObjectAdapterData.
 

Public Member Functions

 RssEgoVehicleAdapter (ObjectInstancePtr const objectInstance)
 default constructor
 
virtual ~RssEgoVehicleAdapter ()=default
 default destructor
 
virtual ::ad::map::landmark::LandmarkIdSet getGreenTrafficLightsOnRoute (::ad::map::route::FullRoute const &route) const
 get the green traffic lights along the investigated route More...
 
virtual RssAppendRoadBoundariesMode getRoadBoundariesMode (::ad::map::route::FullRoute const &route) const
 get the road boundaries mode on the investigated route More...
 
virtual RssConstellationConfiguration getVehicleConstellationOnRoute (RssRoute const &route, RssObjectData const &egoVehicleObject, typename RssVehicleAdapter< OBJECT_INSTANCE_TYPE >::ConstPtr otherVehicle, RssObjectData const &otherVehicleObject) const
 get the parameters to be used for the vehicle constellation on the route. More...
 
virtual RssConstellationConfiguration getPedestrianConstellationOnRoute (RssRoute const &route, RssObjectData const &egoVehicleObject, typename RssPedestrianAdapter< OBJECT_INSTANCE_TYPE >::ConstPtr pedestrian, RssObjectData const &pedestrianObject) const
 get the parameters to be used for the pedestrian constellation on the route. More...
 
virtual RssConstellationConfiguration getArtificialObjectConstellationOnRoute (RssRoute const &route, RssObjectData const &egoVehicleObject, typename RssArtificialObjectAdapter< OBJECT_INSTANCE_TYPE >::ConstPtr artificialObjectAdapter, RssObjectData const &artificialObject) const
 get the parameters to be used for the artificialObject constellation on the route. More...
 
::ad::rss::world::ObjectType getObjectType () const
 
::ad::rss::world::RssDynamics getDefaultRssDynamics () const override
 get the default RSS dynamics to be used for the object. More...
 
- Public Member Functions inherited from ad::rss::map::RssVehicleAdapter< OBJECT_INSTANCE_TYPE >
 RssVehicleAdapter (ObjectInstancePtr const objectInstance)
 default constructor
 
virtual ~RssVehicleAdapter ()=default
 default destructor
 
virtual ::ad::rss::map::RssRouteList getRoutePredictions () const
 Return the list of route predictions of the object (optionally). More...
 
virtual ad::physics::Distance getPositionJumpTraveledDistance () const
 Defines the distance at which a delta in vehicle position is considered as unexpected jump. A jump in the position (can occur in simulation on resetting a vehicle's position) triggers automatically the clearing of the current routes and enforces a re-creation of them. More...
 
virtual ad::physics::Distance getMinimumDistanceToObjectsThatHaveToBeAnalyzed () const
 Defines the distance below which a detailed analysis becomes necessary regardless of the objects stopping distance estimates. More...
 
::ad::rss::world::ObjectId getObjectId () const
 get the id of the object
 
virtual RssRoutingTargetOperation getRoutingTargetOperation ()
 Return a routing target operation to be applied (optional) More...
 
virtual ad::physics::Distance getRoutingTargetReachedDistance () const
 Defines the distance at which a given routing target is interpreted to be reached. More...
 
virtual void activeRoutingTargets (::ad::map::point::ENUPointList const &activeRoutingTargets)
 Provides information on the currently active routing targets. More...
 
- Public Member Functions inherited from ad::rss::map::RssObjectAdapter< OBJECT_INSTANCE_TYPE >
 RssObjectAdapter (ObjectInstancePtr const objectInstance)
 default constructor
 
virtual ~RssObjectAdapter ()=default
 default destructor
 
::ad::rss::world::ObjectType getObjectType () const
 
RssRouteCheckerControl< OBJECT_INSTANCE_TYPE >::Ptr getCheckerControl () const
 get the checker control instance
 
ObjectInstancePtr getObjectInstance () const
 get the underlying object instance type
 
OBJECT_INSTANCE_TYPE & getObjectInstanceType ()
 get the underlying object instance type.
 
OBJECT_INSTANCE_TYPE const & getObjectInstanceType () const
 get the underlying object instance type
 
virtual ::ad::rss::world::RssDynamics getDefaultRssDynamics () const
 get the default RSS dynamics to be used for the object. More...
 
::ad::physics::Dimension3D getDimensions () const override
 get the dimensions of the object to be considered: the stored (estimated) dimensions are expanded by the position confidence
 
virtual ::ad::map::match::Object getMatchedObject (::ad::map::match::AdMapMatching const &mapMatching, physics::Distance const sampling_distance) const
 Perform actual map matching of the object. More...
 
virtual bool isObjectIdUniqueOverTime () const
 Indicate if the object id of this remains unique over time. More...
 
- Public Member Functions inherited from ad::rss::map::RssObjectAdapterData
 RssObjectAdapterData ()
 standard constructor
 
virtual ~RssObjectAdapterData ()=default
 standard destructor
 
 RssObjectAdapterData (const RssObjectAdapterData &other)=default
 standard copy constructor
 
 RssObjectAdapterData (RssObjectAdapterData &&other)=default
 standard move constructor
 
RssObjectAdapterDataoperator= (const RssObjectAdapterData &other)=default
 standard assignment operator More...
 
RssObjectAdapterDataoperator= (RssObjectAdapterData &&other)=default
 standard move operator More...
 
bool operator== (const RssObjectAdapterData &other) const
 standard comparison operator More...
 
bool operator!= (const RssObjectAdapterData &other) const
 standard comparison operator More...
 
::ad::rss::world::ObjectId getObjectId () const
 get the id of the object
 
::ad::rss::world::ObjectType getObjectType () const
 get the type of the object
 
::ad::map::point::ENUPoint getCenterPoint () const
 get the center point of the object
 
::ad::physics::Dimension2D getPositionConfidence () const
 get the position confidence of the center point
 
::ad::physics::Probability getPositionConfidenceLevel () const
 get the position confidence level of the center point
 
::ad::map::point::ENUHeading getHeading () const
 get the heading of the object
 
virtual ::ad::physics::Dimension3D getDimensions () const
 get the dimensions of the object to be considered
 
::ad::physics::SpeedRange getSpeedRange () const
 get the speed of the object
 
::ad::physics::AngularVelocity getYawRate () const
 get the change of the heading (which is the yaw rate) of the object
 
::ad::physics::Angle getSteeringAngle () const
 get the steering angle of the vehicle. Might be invalid if not available.
 

Additional Inherited Members

- Public Attributes inherited from ad::rss::map::RssObjectAdapterData
::ad::rss::world::ObjectId id {0}
 
::ad::rss::world::ObjectType object_type {::ad::rss::world::ObjectType::Invalid}
 
::ad::map::point::ENUPoint center_point
 
::ad::physics::Dimension2D position_confidence_ellipse_half_axis_dimension
 
::ad::physics::Probability position_confidence_ellipse_confidence_level
 
::ad::map::point::ENUHeading heading {std::numeric_limits<double>::quiet_NaN()}
 
::ad::physics::Dimension3D dimension
 
::ad::physics::SpeedRange speed_range
 
::ad::physics::AngularVelocity yaw_rate
 
::ad::physics::Angle steering_angle {std::numeric_limits<double>::quiet_NaN()}
 
- Protected Attributes inherited from ad::rss::map::RssObjectAdapter< OBJECT_INSTANCE_TYPE >
ObjectInstancePtr mObjectInstance
 

Detailed Description

template<class OBJECT_INSTANCE_TYPE>
class ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >

Base class to access ego vehicle information required to perform the RSS checks in conjunction with the RssRouteChecker class.

This class specializes the RssVehicleAdapter by functionality required specifically for ego vehicles. This class derives virtually from the RssVehicleAdapter which allows for a similar class layout on side of the concrete implementations of this to be able to handle common functionality of vehicles and pedestrians at one place. E.g.:

class RssObjectAdapterCustom: public virtual RssObjectAdapter {}; class RssPedestrianAdapterCustom: public RssObjectAdapterCustom, public RssPedestrianAdapter {}; class RssVehicleAdapterCustom: public RssObjectAdapterCustom, public virtual RssVehicleAdapter {}; class RssEgoVehicleAdapterCustom: public RssVehicleAdapterCustom, public RssEgoVehicleAdapter {}; class RssArtificialObjectAdapterCustom: public RssObjectAdapterCustom, public RssArtificialObjectAdapter {};

The pure virtual Getter-functions of this class have to be provided by some derived class. The virtual Update-functions might be implemented by derived classed to take care on the required steps on their own instead of letting the default implementation handle these (see details on in the function descriptions).

Member Function Documentation

◆ getArtificialObjectConstellationOnRoute()

template<class OBJECT_INSTANCE_TYPE >
virtual RssConstellationConfiguration ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >::getArtificialObjectConstellationOnRoute ( RssRoute const &  route,
RssObjectData const &  egoVehicleObject,
typename RssArtificialObjectAdapter< OBJECT_INSTANCE_TYPE >::ConstPtr  artificialObjectAdapter,
RssObjectData const &  artificialObject 
) const
inlinevirtual

get the parameters to be used for the artificialObject constellation on the route.

Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.

Parameters
[in]routethe ego-route of this constellation
[in]egoVehicleObjectthe ego vehicle object data of this constellation
[in]artificialObjectthe artificialObject of this constellation
[in]artificialObjectObjectthe artificialObject object data of this constellation

◆ getDefaultRssDynamics()

template<class OBJECT_INSTANCE_TYPE >
::ad::rss::world::RssDynamics ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >::getDefaultRssDynamics ( ) const
inlineoverride

get the default RSS dynamics to be used for the object.

Reimplemented from RssObjectAdapter. Default implementation deploys RssRouteCheckerControl to gather results.

◆ getGreenTrafficLightsOnRoute()

template<class OBJECT_INSTANCE_TYPE >
virtual ::ad::map::landmark::LandmarkIdSet ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >::getGreenTrafficLightsOnRoute ( ::ad::map::route::FullRoute const &  route) const
inline

get the green traffic lights along the investigated route

Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.

◆ getObjectType()

template<class OBJECT_INSTANCE_TYPE >
::ad::rss::world::ObjectType ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >::getObjectType ( ) const
inline
Returns
::ad::rss::world::ObjectType::EgoVehicle as type of this.

This overloaded function is not virtual by intension. If this class is not used as ego-vehicle, but other vehicle, the object type of the base class RssVehicleAdapter should be returned.

◆ getPedestrianConstellationOnRoute()

template<class OBJECT_INSTANCE_TYPE >
virtual RssConstellationConfiguration ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >::getPedestrianConstellationOnRoute ( RssRoute const &  route,
RssObjectData const &  egoVehicleObject,
typename RssPedestrianAdapter< OBJECT_INSTANCE_TYPE >::ConstPtr  pedestrian,
RssObjectData const &  pedestrianObject 
) const
inlinevirtual

get the parameters to be used for the pedestrian constellation on the route.

Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.

Parameters
[in]routethe ego-route of this constellation
[in]egoVehicleObjectthe ego vehicle object data of this constellation
[in]pedestrianthe pedestrian of this constellation
[in]pedestrianObjectthe pedestrian object data of this constellation

◆ getRoadBoundariesMode()

template<class OBJECT_INSTANCE_TYPE >
virtual RssAppendRoadBoundariesMode ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >::getRoadBoundariesMode ( ::ad::map::route::FullRoute const &  route) const
inlinevirtual

get the road boundaries mode on the investigated route

Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.

◆ getVehicleConstellationOnRoute()

template<class OBJECT_INSTANCE_TYPE >
virtual RssConstellationConfiguration ad::rss::map::RssEgoVehicleAdapter< OBJECT_INSTANCE_TYPE >::getVehicleConstellationOnRoute ( RssRoute const &  route,
RssObjectData const &  egoVehicleObject,
typename RssVehicleAdapter< OBJECT_INSTANCE_TYPE >::ConstPtr  otherVehicle,
RssObjectData const &  otherVehicleObject 
) const
inlinevirtual

get the parameters to be used for the vehicle constellation on the route.

Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.

Parameters
[in]routethe ego-route of this constellation
[in]egoVehicleObjectthe ego vehicle object data of this constellation
[in]otherVehiclethe other vehicle of this constellation
[in]otherVehicleObjectthe other vehicle object data of this constellation

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