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

#include <lanechangeconstraintsandreferences.h>

Inheritance diagram for adore::fun::ContinueLCReference:
Inheritance graph
Collaboration diagram for adore::fun::ContinueLCReference:
Collaboration graph

Public Member Functions

 ContinueLCReference (adore::view::ALaneChangeView *lcv)
 
virtual bool getValueIfAvailable (double t, double s, double ds, double &ref) const override
 
virtual void update (double t0, double s0, double ds0) override
 
virtual int getDimension () override
 
virtual int getDerivative () override
 

Private Attributes

adore::view::ALaneChangeViewlcv_
 

Detailed Description

ContinueLCReference - use this reference for lateral profile of MRM, to continue LC with MRM

Constructor & Destructor Documentation

◆ ContinueLCReference()

adore::fun::ContinueLCReference::ContinueLCReference ( adore::view::ALaneChangeView lcv)
inline

Member Function Documentation

◆ getDerivative()

virtual int adore::fun::ContinueLCReference::getDerivative ( )
inlineoverridevirtual

Determine for which derivative of given dimension this reference is responsible.

Returns
applicable to which state derivative

Implements adore::fun::ANominalReference.

◆ getDimension()

virtual int adore::fun::ContinueLCReference::getDimension ( )
inlineoverridevirtual

Determine for which dimension this reference is responsible (e.g. longitudinal, lateral, etc.)

Returns
applicable to which dimension, depends on setup of planner

Implements adore::fun::ANominalReference.

◆ getValueIfAvailable()

virtual bool adore::fun::ContinueLCReference::getValueIfAvailable ( double  t,
double  s,
double  ds,
double &  ref 
) const
inlineoverridevirtual

Determine whether a reference is available and retrieve its value.

Parameters
ttime
sprogress along coordinate system
Returns
true, if a reference is available

Implements adore::fun::ANominalReference.

Here is the call graph for this function:

◆ update()

virtual void adore::fun::ContinueLCReference::update ( double  t0,
double  s0,
double  ds0 
)
inlineoverridevirtual

Refresh values of the reference object. Allows parameters and precomputations to buffered for one planning cycle.

Parameters
t0start time for planning
s0start progress in road-relative coordinate system
ds0derivative of s at t0

Implements adore::fun::ANominalReference.

Member Data Documentation

◆ lcv_

adore::view::ALaneChangeView* adore::fun::ContinueLCReference::lcv_
private

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