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

automatically manage speed limit information based on current vehicle position More...

#include <map_speedlimit_management.h>

Collaboration diagram for adore::env::SpeedLimitManagement:
Collaboration graph

Public Member Functions

 SpeedLimitManagement ()
 
void setDefaultValue (double value)
 
void update (double const &egoX, double const &egoY)
 
void const getFunction (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 &speedLimitOutput_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::TSpeedLimitFeedspeedlimit_feed_
 
std::unordered_map< adore::env::TSpeedLimitID, adore::env::SpeedLimitknown_speed_limits
 
double default_speed_limit_
 

Detailed Description

automatically manage speed limit information based on current vehicle position

Constructor & Destructor Documentation

◆ SpeedLimitManagement()

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

Member Function Documentation

◆ getFunction()

void const adore::env::SpeedLimitManagement::getFunction ( 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 speedLimitOutput_fct 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOnLane()

bool const adore::env::SpeedLimitManagement::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:

◆ setDefaultValue()

void adore::env::SpeedLimitManagement::setDefaultValue ( double  value)
inline
Here is the caller graph for this function:

◆ update()

void adore::env::SpeedLimitManagement::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

◆ default_speed_limit_

double adore::env::SpeedLimitManagement::default_speed_limit_
private

◆ known_speed_limits

std::unordered_map<adore::env::TSpeedLimitID, adore::env::SpeedLimit> adore::env::SpeedLimitManagement::known_speed_limits
private

◆ speedlimit_feed_

adore::env::AFactory::TSpeedLimitFeed* adore::env::SpeedLimitManagement::speedlimit_feed_
private

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