#include <basicconstraintsandreferences.h>
LateralOffsetConstraintLF - provides the left=UB or right=LB bound for lateral planning wrt the lane following view.
◆ LateralOffsetConstraintLF()
◆ getDerivative()
virtual int adore::fun::LateralOffsetConstraintLF::getDerivative |
( |
| ) |
|
|
inlineoverridevirtual |
Determine for which derivative of given dimension this constraint is responsible.
- Returns
- applicable to which state derivative
Implements adore::fun::ANominalConstraint.
◆ getDimension()
virtual int adore::fun::LateralOffsetConstraintLF::getDimension |
( |
| ) |
|
|
inlineoverridevirtual |
Determine for which dimension this constraint is responsible (e.g. longitudinal, lateral, etc.)
- Returns
- applicable to which dimension, depends on setup of planner
Implements adore::fun::ANominalConstraint.
◆ getDirection()
◆ getValue()
double adore::fun::LateralOffsetConstraintLF::getValue |
( |
double |
t, |
|
|
double |
s, |
|
|
double |
ds |
|
) |
| const |
|
inlineoverridevirtual |
return the value of the constraint at a certain time and position
- Parameters
-
t | the time |
s | progress along the road-relative coordinate system |
ds | derivative of s |
- Returns
- value of the constraint (e.g. vmax for a speed limit)
Implements adore::fun::ANominalConstraint.
◆ update()
virtual void adore::fun::LateralOffsetConstraintLF::update |
( |
double |
t0, |
|
|
double |
s0, |
|
|
double |
ds0 |
|
) |
| |
|
inlineoverridevirtual |
Refresh values of the constraint 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::ANominalConstraint.
◆ d_
◆ delay_n_
double adore::fun::LateralOffsetConstraintLF::delay_n_ |
|
private |
◆ delay_s_
double adore::fun::LateralOffsetConstraintLF::delay_s_ |
|
private |
◆ hard_safety_distance_
double adore::fun::LateralOffsetConstraintLF::hard_safety_distance_ |
|
private |
◆ lfv_
◆ min_control_space_
double adore::fun::LateralOffsetConstraintLF::min_control_space_ |
|
private |
◆ plat_
◆ pv_
◆ s0_
double adore::fun::LateralOffsetConstraintLF::s0_ |
|
private |
◆ soft_safety_distance_
double adore::fun::LateralOffsetConstraintLF::soft_safety_distance_ |
|
private |
◆ width_
double adore::fun::LateralOffsetConstraintLF::width_ |
|
private |
The documentation for this class was generated from the following file: