ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::env::IndicatorHintManagement Class Reference

automatically manage indicator hints based on current vehicle position More...

#include <map_indicatorhint_management.h>

Collaboration diagram for adore::env::IndicatorHintManagement:
Collaboration graph

Public Member Functions

 IndicatorHintManagement ()
 
void update (double const &egoX, double const &egoY)
 
void const getFunctions (adore::mad::function_type_xyz &centerSmoothed_fct, adore::mad::function_type_scalar &leftOffset_fct, adore::mad::function_type_scalar &rightOffset_fct, adore::mad::function_type_scalar &left_indicator_hint_fct, adore::mad::function_type_scalar &right_indicator_hint_fct)
 

Private Member Functions

bool const isOnLane (adore::mad::function_type_xyz const &centerSmoothed_fct, adore::mad::function_type_scalar const &leftOffset_fct, adore::mad::function_type_scalar const &rightOffset_fct, double const &x, double const &y, double &s)
 helper function to determine if a eucledian (x,y) point is on the lane or outside, set s of the point More...
 

Private Attributes

adore::env::AFactory::TIndicatorHintFeedindicatorhint_feed_
 
std::unordered_map< adore::env::TIndicatorHintID, adore::env::IndicatorHintknown_hints
 

Detailed Description

automatically manage indicator hints based on current vehicle position

Constructor & Destructor Documentation

◆ IndicatorHintManagement()

adore::env::IndicatorHintManagement::IndicatorHintManagement ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ getFunctions()

void const adore::env::IndicatorHintManagement::getFunctions ( adore::mad::function_type_xyz centerSmoothed_fct,
adore::mad::function_type_scalar leftOffset_fct,
adore::mad::function_type_scalar rightOffset_fct,
adore::mad::function_type_scalar left_indicator_hint_fct,
adore::mad::function_type_scalar right_indicator_hint_fct 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOnLane()

bool const adore::env::IndicatorHintManagement::isOnLane ( adore::mad::function_type_xyz const &  centerSmoothed_fct,
adore::mad::function_type_scalar const &  leftOffset_fct,
adore::mad::function_type_scalar const &  rightOffset_fct,
double const &  x,
double const &  y,
double &  s 
)
inlineprivate

helper function to determine if a eucledian (x,y) point is on the lane or outside, set s of the point

Parameters
x
y
s
Returns
true
false
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

void adore::env::IndicatorHintManagement::update ( double const &  egoX,
double const &  egoY 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ indicatorhint_feed_

adore::env::AFactory::TIndicatorHintFeed* adore::env::IndicatorHintManagement::indicatorhint_feed_
private

◆ known_hints

std::unordered_map<adore::env::TIndicatorHintID, adore::env::IndicatorHint> adore::env::IndicatorHintManagement::known_hints
private

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