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

#include <conflictset.h>

Inheritance diagram for adore::env::BorderBased::ConflictZone:
Inheritance graph
Collaboration diagram for adore::env::BorderBased::ConflictZone:
Collaboration graph

Public Member Functions

 ConflictZone ()
 
void setPathOfCrossTraffic (std::vector< Border * > poct)
 
std::vector< Border * > * getPathOfCrossTraffic ()
 
void setCoordinates (std::vector< Coordinate > c)
 
void calcDistances (BorderSet *bs)
 
double getFirstBorderExitDistance ()
 
double getFirstBorderEntranceDistance ()
 
- Public Member Functions inherited from adore::view::ConflictZone
 ConflictZone ()
 
double getStartProgress () const
 
double getEndProgress () const
 
bool hasEndProgress () const
 
double getWaitingPosition () const
 
bool hasPriority () const
 
TrafficQueuegetCrossTraffic ()
 
const LimitLinegetLimitLine () const
 
void setStartProgress (double value)
 
void setEndProgress (double value)
 
void setHasEndProgress (bool value)
 
void setWaitingPosition (double value)
 
void setPriority (bool value)
 
void setCrossTraffic (TrafficQueue &trafficqueue)
 
void setLimitLine (LimitLine &limitline)
 

Private Attributes

std::vector< Border * > pathOfCrossTraffic_
 
std::vector< Coordinatecoordinates_
 
double firstBorderDistToExit_
 
double firstBorderDistToEntr_
 
bool distancesCalculated_
 

Detailed Description

ConflictZone - area of overlapping lanes, where the lane containing the conflict zone has lower priority than other lanes. A conflict zone may not be entered by AV at the same time as higher-priority cross traffic will enter the zone. A conflict zone is an abstraction for conflicts occuring at lane merges, roundabouts, pedestrian/zebra crossings, crossings with yield sign, etc.

Constructor & Destructor Documentation

◆ ConflictZone()

adore::env::BorderBased::ConflictZone::ConflictZone ( )
inline

Member Function Documentation

◆ calcDistances()

void adore::env::BorderBased::ConflictZone::calcDistances ( BorderSet bs)
inline
Here is the call graph for this function:

◆ getFirstBorderEntranceDistance()

double adore::env::BorderBased::ConflictZone::getFirstBorderEntranceDistance ( )
inline

◆ getFirstBorderExitDistance()

double adore::env::BorderBased::ConflictZone::getFirstBorderExitDistance ( )
inline

◆ getPathOfCrossTraffic()

std::vector<Border *>* adore::env::BorderBased::ConflictZone::getPathOfCrossTraffic ( )
inline

◆ setCoordinates()

void adore::env::BorderBased::ConflictZone::setCoordinates ( std::vector< Coordinate c)
inline
Here is the caller graph for this function:

◆ setPathOfCrossTraffic()

void adore::env::BorderBased::ConflictZone::setPathOfCrossTraffic ( std::vector< Border * >  poct)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ coordinates_

std::vector<Coordinate> adore::env::BorderBased::ConflictZone::coordinates_
private

◆ distancesCalculated_

bool adore::env::BorderBased::ConflictZone::distancesCalculated_
private

◆ firstBorderDistToEntr_

double adore::env::BorderBased::ConflictZone::firstBorderDistToEntr_
private

◆ firstBorderDistToExit_

double adore::env::BorderBased::ConflictZone::firstBorderDistToExit_
private

◆ pathOfCrossTraffic_

std::vector<Border *> adore::env::BorderBased::ConflictZone::pathOfCrossTraffic_
private

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