defines a gap in traffic, into which a merge may be planned
More...
#include <agap.h>
|
| 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...
|
| |
defines a gap in traffic, into which a merge may be planned
◆ EGapState
| Enumerator |
|---|
| OPENING | gap before merge possible
|
| OPEN | gap while merge possible
|
| CLOSED | gap after merge possible
|
◆ 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
-
| t | time |
| guard | guard 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
-
| t | time |
| guard | guard 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
-
Implemented in adore::env::EmptyGap.
The documentation for this class was generated from the following file:
- /home/fascar/temp/adore/libadore/libadore/adore/view/include/adore/view/agap.h