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

LaneChangeView provides traffic related information for an adjacent lane. More...

#include <lanechangeview.h>

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

Public Member Functions

 LaneChangeView (adore::params::AFactory *paramsfactory, LocalRoadMap *localRoadMap, LaneFollowingView *lfv, adore::env::traffic::TrafficMap *trafficMap)
 Construct a new LaneChangeView object. More...
 
 LaneChangeView (LocalRoadMap *localRoadMap, LaneFollowingView *lfv, adore::env::traffic::TrafficMap *trafficMap)
 
void update (adore::view::ALaneChangeView::direction direction)
 Update the LaneChangeView. More...
 
LaneChangeGeometrygetGeometry ()
 
virtual adore::view::ALanegetSourceLane () override
 
virtual adore::view::ALanegetTargetLane () override
 
virtual adore::view::ALaneChangeView::direction getLCDirection () const override
 
virtual double getProgressOfGateOpen () const override
 
virtual double getProgressOfGateClosed () const override
 
virtual double getOffsetOfStartOuterBorder (double s) override
 
virtual double getOffsetOfSeparatingBorder (double s) override
 
virtual double getOffsetOfDestinationOuterBorder (double s) override
 
virtual double getNavigationCostDifference () override
 

Private Attributes

LaneFollowingViewlfv_
 
LaneChangeGeometry lcg_
 
LocalRoadMaplrm_
 
adore::params::APLaneChangeViewapLCV_
 
adore::env::traffic::EgoLaneTraffic elt_
 
adore::env::BorderBased::ConflictSet cs_
 
DependentLane dl_
 

Additional Inherited Members

- Public Types inherited from adore::view::ALaneChangeView
enum  direction { LEFT , RIGHT }
 

Detailed Description

LaneChangeView provides traffic related information for an adjacent lane.

Constructor & Destructor Documentation

◆ LaneChangeView() [1/2]

adore::env::BorderBased::LaneChangeView::LaneChangeView ( adore::params::AFactory paramsfactory,
LocalRoadMap localRoadMap,
LaneFollowingView lfv,
adore::env::traffic::TrafficMap trafficMap 
)
inline

Construct a new LaneChangeView object.

Parameters
paramsfactoryparameter factory
localRoadMaplocal raod map
lfgLaneFollowingGeometry
Here is the call graph for this function:

◆ LaneChangeView() [2/2]

adore::env::BorderBased::LaneChangeView::LaneChangeView ( LocalRoadMap localRoadMap,
LaneFollowingView lfv,
adore::env::traffic::TrafficMap trafficMap 
)
inline

Member Function Documentation

◆ getGeometry()

LaneChangeGeometry* adore::env::BorderBased::LaneChangeView::getGeometry ( )
inline

◆ getLCDirection()

virtual adore::view::ALaneChangeView::direction adore::env::BorderBased::LaneChangeView::getLCDirection ( ) const
inlineoverridevirtual

getLCDirection - return the direction of a lane change leading to target lane

Implements adore::view::ALaneChangeView.

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

◆ getNavigationCostDifference()

virtual double adore::env::BorderBased::LaneChangeView::getNavigationCostDifference ( )
inlineoverridevirtual
Returns
the difference in navigation cost between two lanes: g_target-g_source; if the return value is below 0, the target lane has lower navigation cost

Implements adore::view::ALaneChangeView.

◆ getOffsetOfDestinationOuterBorder()

virtual double adore::env::BorderBased::LaneChangeView::getOffsetOfDestinationOuterBorder ( double  s)
inlineoverridevirtual

getOffsetOfDestinationOuterBorder - return lateral offset n of the outer border of target lane

Implements adore::view::ALaneChangeView.

Here is the call graph for this function:

◆ getOffsetOfSeparatingBorder()

virtual double adore::env::BorderBased::LaneChangeView::getOffsetOfSeparatingBorder ( double  s)
inlineoverridevirtual

getOffsetOfStartInnerBorder - return lateral offset n of the inner border of the AV's current lane

Implements adore::view::ALaneChangeView.

Here is the call graph for this function:

◆ getOffsetOfStartOuterBorder()

virtual double adore::env::BorderBased::LaneChangeView::getOffsetOfStartOuterBorder ( double  s)
inlineoverridevirtual

getOffsetOfStartOuterBorder - return lateral offset n of the outer border of the AV's current lane

Implements adore::view::ALaneChangeView.

Here is the call graph for this function:

◆ getProgressOfGateClosed()

virtual double adore::env::BorderBased::LaneChangeView::getProgressOfGateClosed ( ) const
inlineoverridevirtual

getProgressOfGateClosed - return progress s of the closure of the next gate (distance to beginngin of solid line or otherwise impassable lane border after gate)

Implements adore::view::ALaneChangeView.

Here is the call graph for this function:

◆ getProgressOfGateOpen()

virtual double adore::env::BorderBased::LaneChangeView::getProgressOfGateOpen ( ) const
inlineoverridevirtual

getProgressOfGateOpen - return progress s of the next opening of a gate (distance to end of solid line or otherwise impassable lane border)

Implements adore::view::ALaneChangeView.

Here is the call graph for this function:

◆ getSourceLane()

virtual adore::view::ALane* adore::env::BorderBased::LaneChangeView::getSourceLane ( )
inlineoverridevirtual

getSourceLane - return ALane pointer for the source lane of the lane change

Implements adore::view::ALaneChangeView.

◆ getTargetLane()

virtual adore::view::ALane* adore::env::BorderBased::LaneChangeView::getTargetLane ( )
inlineoverridevirtual

getSourceLane - return ALane pointer for the target lane of the lane change

Implements adore::view::ALaneChangeView.

Here is the caller graph for this function:

◆ update()

void adore::env::BorderBased::LaneChangeView::update ( adore::view::ALaneChangeView::direction  direction)
inline

Update the LaneChangeView.

Parameters
directiondirection of the LaneChangeView
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ apLCV_

adore::params::APLaneChangeView* adore::env::BorderBased::LaneChangeView::apLCV_
private

parameters

◆ cs_

adore::env::BorderBased::ConflictSet adore::env::BorderBased::LaneChangeView::cs_
private

conflict set

◆ dl_

DependentLane adore::env::BorderBased::LaneChangeView::dl_
private

lc target lane represented as a dependent lane

◆ elt_

adore::env::traffic::EgoLaneTraffic adore::env::BorderBased::LaneChangeView::elt_
private

traffic on this lane

◆ lcg_

LaneChangeGeometry adore::env::BorderBased::LaneChangeView::lcg_
private

connected LaneChangeGeometry

◆ lfv_

LaneFollowingView* adore::env::BorderBased::LaneChangeView::lfv_
private

connected LaneFollowingView

◆ lrm_

LocalRoadMap* adore::env::BorderBased::LaneChangeView::lrm_
private

local road map with border cost and matched lane


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