ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::view::AGap Class Referenceabstract

defines a gap in traffic, into which a merge may be planned More...

#include <agap.h>

Inheritance diagram for adore::view::AGap:
Inheritance graph
Collaboration diagram for adore::view::AGap:
Collaboration graph

Public Types

enum  EGapState { OPENING , OPEN , CLOSED }
 

Public Member Functions

virtual EGapState getState (double s, double t)=0
 get the state of the gap at a certain time, depending on ego position More...
 
virtual double getLeadProgress (double t, double guard)=0
 get a prediction of the lead progress at a certain time Lead vehicle is leading the gap. Progress is measured along coordinates of target lane. More...
 
virtual double getChaseProgress (double t, double guard)=0
 get a prediction of the chase progress at a certain time Chase vehicle is chasing the gap. Progress is measured along coordinates of target lane. More...
 

Detailed Description

defines a gap in traffic, into which a merge may be planned

Member Enumeration Documentation

◆ EGapState

Enumerator
OPENING 

gap before merge possible

OPEN 

gap while merge possible

CLOSED 

gap after merge possible

Member Function Documentation

◆ getChaseProgress()

virtual double adore::view::AGap::getChaseProgress ( double  t,
double  guard 
)
pure virtual

get a prediction of the chase progress at a certain time Chase vehicle is chasing the gap. Progress is measured along coordinates of target lane.

Parameters
ttime
guardguard value returned if chase does not exist

Implemented in adore::env::EmptyGap.

◆ getLeadProgress()

virtual double adore::view::AGap::getLeadProgress ( double  t,
double  guard 
)
pure virtual

get a prediction of the lead progress at a certain time Lead vehicle is leading the gap. Progress is measured along coordinates of target lane.

Parameters
ttime
guardguard value returned if lead does not exist

Implemented in adore::env::EmptyGap.

◆ getState()

virtual EGapState adore::view::AGap::getState ( double  s,
double  t 
)
pure virtual

get the state of the gap at a certain time, depending on ego position

Parameters
sego position
ttime

Implemented in adore::env::EmptyGap.

Here is the caller graph for this function:

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