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

defines a gap for testing purposes, which never has lead or chase vehicles. More...

#include <emptygap.h>

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

Public Member Functions

virtual adore::view::AGap::EGapState getState (double s, double t) override
 get the state of the gap at a certain time, depending on ego position More...
 
virtual double getLeadProgress (double t, double guard) override
 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) override
 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...
 

Additional Inherited Members

- Public Types inherited from adore::view::AGap
enum  EGapState { OPENING , OPEN , CLOSED }
 

Detailed Description

defines a gap for testing purposes, which never has lead or chase vehicles.

Member Function Documentation

◆ getChaseProgress()

virtual double adore::env::EmptyGap::getChaseProgress ( double  t,
double  guard 
)
inlineoverridevirtual

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

Implements adore::view::AGap.

◆ getLeadProgress()

virtual double adore::env::EmptyGap::getLeadProgress ( double  t,
double  guard 
)
inlineoverridevirtual

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

Implements adore::view::AGap.

◆ getState()

virtual adore::view::AGap::EGapState adore::env::EmptyGap::getState ( double  s,
double  t 
)
inlineoverridevirtual

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

Parameters
sego position
ttime

Implements adore::view::AGap.


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