ad_rss_map_integration
|
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>
Public Types | |
typedef std::shared_ptr< RssEgoVehicleAdapter > | Ptr |
Smart pointer on RssEgoVehicleAdapter. | |
typedef std::shared_ptr< RssEgoVehicleAdapter const > | ConstPtr |
Smart pointer on constant RssEgoVehicleAdapter. | |
![]() | |
typedef std::shared_ptr< RssVehicleAdapter > | Ptr |
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... | |
![]() | |
typedef std::shared_ptr< RssObjectAdapter > | Ptr |
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 |
![]() | |
typedef std::shared_ptr< RssObjectAdapterData > | Ptr |
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... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
RssObjectAdapterData () | |
standard constructor | |
virtual | ~RssObjectAdapterData ()=default |
standard destructor | |
RssObjectAdapterData (const RssObjectAdapterData &other)=default | |
standard copy constructor | |
RssObjectAdapterData (RssObjectAdapterData &&other)=default | |
standard move constructor | |
RssObjectAdapterData & | operator= (const RssObjectAdapterData &other)=default |
standard assignment operator More... | |
RssObjectAdapterData & | operator= (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 | |
![]() | |
::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()} |
![]() | |
ObjectInstancePtr | mObjectInstance |
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).
|
inlinevirtual |
get the parameters to be used for the artificialObject constellation on the route.
Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.
[in] | route | the ego-route of this constellation |
[in] | egoVehicleObject | the ego vehicle object data of this constellation |
[in] | artificialObject | the artificialObject of this constellation |
[in] | artificialObjectObject | the artificialObject object data of this constellation |
|
inlineoverride |
get the default RSS dynamics to be used for the object.
Reimplemented from RssObjectAdapter. Default implementation deploys RssRouteCheckerControl to gather results.
|
inline |
get the green traffic lights along the investigated route
Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.
|
inline |
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.
|
inlinevirtual |
get the parameters to be used for the pedestrian constellation on the route.
Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.
[in] | route | the ego-route of this constellation |
[in] | egoVehicleObject | the ego vehicle object data of this constellation |
[in] | pedestrian | the pedestrian of this constellation |
[in] | pedestrianObject | the pedestrian object data of this constellation |
|
inlinevirtual |
get the road boundaries mode on the investigated route
Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.
|
inlinevirtual |
get the parameters to be used for the vehicle constellation on the route.
Virtual function. Default implementation deploys RssRouteCheckerControl to gather results.
[in] | route | the ego-route of this constellation |
[in] | egoVehicleObject | the ego vehicle object data of this constellation |
[in] | otherVehicle | the other vehicle of this constellation |
[in] | otherVehicleObject | the other vehicle object data of this constellation |