public class LinearCACC 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 |
KA
Acceleration error gain parameter.
|
static ParameterTypeDouble |
KS
Gap error gain parameter.
|
static ParameterTypeDouble |
KV
Speed error gain parameter.
|
KFTDACC, TDCACC, X0| Constructor and Description |
|---|
LinearCACC(DelayedActuation delayedActuation)
Constructor using default sensors with no delay.
|
| Modifier and Type | Method and Description |
|---|---|
Acceleration |
getFollowingAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders)
Returns the following acceleration of the longitudinal control.
|
getDesiredAccelerationdelayActuation, getAccelerationpublic static final ParameterTypeDouble KS
public static final ParameterTypeDouble KV
public static final ParameterTypeDouble KA
public LinearCACC(DelayedActuation delayedActuation)
delayedActuation - DelayedActuation; delayed actuationpublic Acceleration getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders) throws ParameterException
getFollowingAcceleration in class AbstractLinearFreeControlgtu - LaneBasedGTU; gtuleaders - PerceptionCollectable<HeadwayGTU, LaneBasedGTU>; leadersParameterException - if parameter is not presentCopyright © 2014–2019 Delft University of Technology. All rights reserved.