public class LinearACC extends AbstractLinearFreeControl
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static ParameterTypeDouble |
KS
Gap error gain parameter.
|
static ParameterTypeDouble |
KV
Speed error gain parameter.
|
KF
TDACC, TDCACC, X0
Constructor and Description |
---|
LinearACC(DelayedActuation delayedActuation)
Constructor using default sensors with no delay.
|
Modifier and Type | Method and Description |
---|---|
Acceleration |
getFollowingAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders,
Parameters settings)
Returns the following acceleration of the longitudinal control.
|
getDesiredAcceleration
delayActuation, getAcceleration
public static final ParameterTypeDouble KS
public static final ParameterTypeDouble KV
public LinearACC(DelayedActuation delayedActuation)
delayedActuation
- DelayedActuation; delayed actuationpublic Acceleration getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings) throws ParameterException
getFollowingAcceleration
in class AbstractLinearFreeControl
gtu
- LaneBasedGTU; gtuleaders
- PerceptionCollectable<HeadwayGTU, LaneBasedGTU>; leaderssettings
- Parameters; system settingsParameterException
- if parameter is not presentCopyright © 2014–2019 Delft University of Technology. All rights reserved.