Proxy class to access ALane interfaces from preprocessed lane geometry received as data object. More...
#include <lanechangeviewproxy.h>
Public Member Functions | |
LaneChangeViewProxy (std::shared_ptr< LaneGeometryDataProxy > sourceLaneGeometryData, std::shared_ptr< LaneGeometryDataProxy > targetLaneGeometryData, std::shared_ptr< LaneChangeDataProxy > laneChangeData) | |
Construct a new Lane Following View Proxy object. More... | |
virtual adore::view::ALane * | getSourceLane () override |
virtual adore::view::ALane * | getTargetLane () 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 | |
std::shared_ptr< LaneFollowingViewProxy > | sourceLane_ |
std::shared_ptr< LaneFollowingViewProxy > | targetLane_ |
std::shared_ptr< LaneChangeDataProxy > | laneChangeData_ |
Additional Inherited Members | |
Public Types inherited from adore::view::ALaneChangeView | |
enum | direction { LEFT , RIGHT } |
Proxy class to access ALane interfaces from preprocessed lane geometry received as data object.
|
inline |
Construct a new Lane Following View Proxy object.
lane | preprocessed data object containing linearized lane geometry |
|
inlineoverridevirtual |
getLCDirection - return the direction of a lane change leading to target lane
Implements adore::view::ALaneChangeView.
|
inlineoverridevirtual |
Implements adore::view::ALaneChangeView.
|
inlineoverridevirtual |
getOffsetOfDestinationOuterBorder - return lateral offset n of the outer border of target lane
Implements adore::view::ALaneChangeView.
|
inlineoverridevirtual |
getOffsetOfStartInnerBorder - return lateral offset n of the inner border of the AV's current lane
Implements adore::view::ALaneChangeView.
|
inlineoverridevirtual |
getOffsetOfStartOuterBorder - return lateral offset n of the outer border of the AV's current lane
Implements adore::view::ALaneChangeView.
|
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.
|
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.
|
inlineoverridevirtual |
getSourceLane - return ALane pointer for the source lane of the lane change
Implements adore::view::ALaneChangeView.
|
inlineoverridevirtual |
getSourceLane - return ALane pointer for the target lane of the lane change
Implements adore::view::ALaneChangeView.
|
private |
|
private |
|
private |