#include <basicconstraintsandreferences.h>
FollowCenterlineReference - use this reference to follow the coordinate system of the lane following view
◆ FollowCenterlineReference()
adore::fun::FollowCenterlineReference::FollowCenterlineReference |
( |
adore::view::ALane * |
lfv, |
|
|
double |
i_grid = 0.0 |
|
) |
| |
|
inline |
◆ getDerivative()
virtual int adore::fun::FollowCenterlineReference::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::FollowCenterlineReference::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::FollowCenterlineReference::getValueIfAvailable |
( |
double |
t, |
|
|
double |
s, |
|
|
double |
ds, |
|
|
double & |
ref |
|
) |
| const |
|
inlineoverridevirtual |
Determine whether a reference is available and retrieve its value.
- Parameters
-
t | time |
s | progress along coordinate system |
- Returns
- true, if a reference is available
Implements adore::fun::ANominalReference.
◆ update()
virtual void adore::fun::FollowCenterlineReference::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
-
t0 | start time for planning |
s0 | start progress in road-relative coordinate system |
ds0 | derivative of s at t0 |
Implements adore::fun::ANominalReference.
◆ d_
double adore::fun::FollowCenterlineReference::d_ |
|
private |
◆ dmax_
double adore::fun::FollowCenterlineReference::dmax_ |
|
private |
◆ i_grid_
double adore::fun::FollowCenterlineReference::i_grid_ |
|
private |
◆ lfv_
◆ p_lat_
◆ p_veh_
◆ w_
double adore::fun::FollowCenterlineReference::w_ |
|
private |
The documentation for this class was generated from the following file: