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

#include <decoupledtrafficpredictionview.h>

Inheritance diagram for adore::env::DecoupledTrafficPredictionView:
Inheritance graph
Collaboration diagram for adore::env::DecoupledTrafficPredictionView:
Collaboration graph

Public Member Functions

 DecoupledTrafficPredictionView (AFactory *factory=EnvFactoryInstance::get())
 
void update ()
 
virtual bool overlapsExpectedBehavior (const adore::mad::OccupancyCylinderTree &space) const override
 
virtual bool overlapsEmergencyBehavior (const adore::mad::OccupancyCylinderTree &space) const override
 
virtual double getExpectedCollisionTime (const adore::mad::OccupancyCylinderTree &space, double guard) const override
 

Private Attributes

AFactory::TOCPredictionSetReaderexpectedReader_
 
AFactory::TOCPredictionSetReaderemergencyReader_
 
AFactory::TOCPredictionSetReaderstaticObstaclesReader_
 
OccupancyCylinderPredictionSet expected_predictions_
 
OccupancyCylinderPredictionSet emergency_predictions_
 
OccupancyCylinderPredictionSet static_obstacles_
 

Constructor & Destructor Documentation

◆ DecoupledTrafficPredictionView()

adore::env::DecoupledTrafficPredictionView::DecoupledTrafficPredictionView ( AFactory factory = EnvFactoryInstance::get())
inline

Member Function Documentation

◆ getExpectedCollisionTime()

virtual double adore::env::DecoupledTrafficPredictionView::getExpectedCollisionTime ( const adore::mad::OccupancyCylinderTree space,
double  guard 
) const
inlineoverridevirtual

getExpectedCollisionTime returns minimum time of all occuring collisions or guard if no collisions occur

Implements adore::view::ATrafficPredictionView.

Here is the call graph for this function:

◆ overlapsEmergencyBehavior()

virtual bool adore::env::DecoupledTrafficPredictionView::overlapsEmergencyBehavior ( const adore::mad::OccupancyCylinderTree space) const
inlineoverridevirtual

overlapsEmergencyBehavior returns true if given space overlaps with current or future object positions belongig to the emergency behavior of these objects

Implements adore::view::ATrafficPredictionView.

◆ overlapsExpectedBehavior()

virtual bool adore::env::DecoupledTrafficPredictionView::overlapsExpectedBehavior ( const adore::mad::OccupancyCylinderTree space) const
inlineoverridevirtual

overlapsExpectedBehavior returns true if given space overlaps with most likely current or future object positions

Implements adore::view::ATrafficPredictionView.

◆ update()

void adore::env::DecoupledTrafficPredictionView::update ( )
inline

get latest prediction sets

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ emergency_predictions_

OccupancyCylinderPredictionSet adore::env::DecoupledTrafficPredictionView::emergency_predictions_
private

◆ emergencyReader_

AFactory::TOCPredictionSetReader* adore::env::DecoupledTrafficPredictionView::emergencyReader_
private

◆ expected_predictions_

OccupancyCylinderPredictionSet adore::env::DecoupledTrafficPredictionView::expected_predictions_
private

◆ expectedReader_

AFactory::TOCPredictionSetReader* adore::env::DecoupledTrafficPredictionView::expectedReader_
private

◆ static_obstacles_

OccupancyCylinderPredictionSet adore::env::DecoupledTrafficPredictionView::static_obstacles_
private

◆ staticObstaclesReader_

AFactory::TOCPredictionSetReader* adore::env::DecoupledTrafficPredictionView::staticObstaclesReader_
private

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