LaneFollowingview provides traffic related information for the current lane. More...
#include <lanefollowingview.h>
Public Types | |
typedef LaneFollowingGeometry< 20, 200 > | TLaneFollowingGeometry |
Public Member Functions | |
LaneFollowingView (adore::params::AFactory *paramsfactory, LocalRoadMap *localRoadMap, adore::env::traffic::TrafficMap *trafficMap) | |
Construct a new LaneFollowingView object. More... | |
LaneFollowingView (LocalRoadMap *localRoadMap, adore::env::traffic::TrafficMap *trafficMap) | |
std::unordered_multimap< view::ConflictZone *, std::vector< Border * > > * | getConflictSetPlotData () |
void | update () |
update the LaneFollowingView More... | |
LocalRoadMap * | getLocalRoadMap () |
void | getBordersToPrint (std::vector< Border * > &result, std::vector< int > &ids) |
TLaneFollowingGeometry * | getGeometry () |
virtual bool | isValid () const override |
virtual double | getSMax () const override |
virtual double | getSMin () const override |
virtual double | getProgressOfWidthOpen () const override |
virtual double | getProgressOfWidthClosed () const override |
virtual const adore::view::TrafficQueue & | getOnLaneTraffic () const override |
virtual const adore::view::ConflictSet & | getConflictSet () const override |
virtual double | getSpeedLimit (double s) override |
virtual double | getLeftIndicatorHint (double s) override |
virtual double | getRightIndicatorHint (double s) override |
virtual bool | hasSpeedRecommendation (double s) const override |
virtual double | getSpeedRecommendation (double s) const override |
virtual double | getNavigationCost (double s) override |
virtual void | boundNavigationCost (double s0, double s1, double &cmin, double &cmax) override |
virtual double | getHeading (double s) override |
virtual double | getCurvature (double s, int derivative) override |
virtual double | getOffsetOfLeftBorder (double s) override |
virtual double | getOffsetOfRightBorder (double s) override |
virtual void | toRelativeCoordinates (double xe, double ye, double &s, double &n) override |
virtual void | toEucledianCoordinates (double s, double n, double &xe, double &ye, double &ze) override |
std::vector< Coordinate > * | getCornerPoints () |
std::vector< BorderOverlapSet > * | getOverlapSet () |
std::vector< Border * > * | get_right_borders_of_conf_lanes () |
Public Member Functions inherited from adore::view::ALane | |
bool | inSRange (double s) const |
Private Attributes | |
LocalRoadMap * | lrm_ |
TLaneFollowingGeometry | lfg_ |
adore::params::APLaneFollowingView * | apLFV_ |
adore::env::traffic::EgoLaneTraffic | elt_ |
adore::env::BorderBased::ConflictSet | cs_ |
LaneFollowingview provides traffic related information for the current lane.
typedef LaneFollowingGeometry<20, 200> adore::env::BorderBased::LaneFollowingView::TLaneFollowingGeometry |
|
inline |
Construct a new LaneFollowingView object.
paramsfactory | parameter factory |
localRoadMap | local road map |
trafficMap | traffic map |
|
inline |
|
inlineoverridevirtual |
boundNavigationCost - return bounds for navigation-cost on a distance s interval along the lane
cmin | the minimum cost on the interval is returned |
cmax | the maximum cost on the interval is returned |
Implements adore::view::ALane.
|
inline |
|
inline |
|
inlineoverridevirtual |
getConflictSet - return set of conflict zones, ordered by occurance along lane
Implements adore::view::ALane.
|
inline |
|
inline |
|
inlineoverridevirtual |
getCurvature - return the lane coordinate system's curvature kappa=1/R and its derivatives 1,2,... at a progress s the derivative is given as 1: d kappa / ds, 2: d^2 kappa / ds^2, ... if a derivative is unavailable, 0 will be returned
Implements adore::view::ALane.
|
inline |
|
inlineoverridevirtual |
getHeading - return the heading of the lane at a distance s along the lane
Implements adore::view::ALane.
|
inlineoverridevirtual |
getLeftIndicatorHint - return left indicator light hint at s along the lane
Implements adore::view::ALane.
|
inline |
|
inlineoverridevirtual |
getNavigationCost - return remaining navigation cost at a certain distance s along the lane
Implements adore::view::ALane.
|
inlineoverridevirtual |
getOffsetOfLeftBorder - return the lateral offset of the left border at a progress s
Implements adore::view::ALane.
|
inlineoverridevirtual |
getOffsetOfRightBorder - return the lateral offset of the right border at a progress s
Implements adore::view::ALane.
|
inlineoverridevirtual |
getOnLaneTraffic - return queue of traffic objects moving on lane, ordered by progress of objects on lane
Implements adore::view::ALane.
|
inline |
|
inlineoverridevirtual |
getProgressOfWidthClosed - returns the s-coordinate of the position where the lane ends to have at least the required width
Implements adore::view::ALane.
|
inlineoverridevirtual |
getProgressOfWidthOpen - returns the s-coordinate of the position where the lane starts to have at least the required width
Implements adore::view::ALane.
|
inlineoverridevirtual |
getRightIndicatorHint - return right indicator light hint at s along the lane
Implements adore::view::ALane.
|
inlineoverridevirtual |
Implements adore::view::ALane.
|
inlineoverridevirtual |
Implements adore::view::ALane.
|
inlineoverridevirtual |
getSpeedLimit - return the speed limit at a certain distance s along the lane
Implements adore::view::ALane.
|
inlineoverridevirtual |
getSpeedRecommendation - return a speed recommendation at a certain distance s along the lane
Implements adore::view::ALane.
|
inlineoverridevirtual |
hasSpeedRecommendation - return true, if a speed recommendation is available (GLOSA or other infrastructure advice) at a certain distance s along the lane
Implements adore::view::ALane.
|
inlineoverridevirtual |
isValid - return true if representation of lane is valid
Implements adore::view::ALane.
|
inlineoverridevirtual |
coordinate transformation from road relative coordinates (s,n) to euclidean (xe,ye,ze)
Implements adore::view::ALane.
|
inlineoverridevirtual |
coordinate transformation from euclidean (xe,ye) to road relative coordinates (s,n)
Implements adore::view::ALane.
|
inline |
update the LaneFollowingView
|
private |
parameters
|
private |
conflict set
|
private |
traffic on this lane
|
private |
|
private |
local road map