public abstract class AbstractLinearFreeControl extends AbstractActuatedControl
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 |
KF
Desired speed error gain parameter.
|
TDACC, TDCACC, X0| Constructor and Description |
|---|
AbstractLinearFreeControl(DelayedActuation delayedActuation)
Constructor using default sensors with no delay.
|
| Modifier and Type | Method and Description |
|---|---|
Acceleration |
getDesiredAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders)
Returns the desired acceleration from the longitudinal control.
|
abstract Acceleration |
getFollowingAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders)
Returns the following acceleration of the longitudinal control.
|
delayActuation, getAccelerationpublic static final ParameterTypeDouble KF
public AbstractLinearFreeControl(DelayedActuation delayedActuation)
delayedActuation - DelayedActuation; delayed actuationpublic final Acceleration getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders) throws ParameterException
getDesiredAcceleration in class AbstractActuatedControlgtu - LaneBasedGTU; gtuleaders - PerceptionCollectable<HeadwayGTU, LaneBasedGTU>; leadersParameterException - if parameter is not presentpublic abstract Acceleration getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders) throws ParameterException
gtu - LaneBasedGTU; gtuleaders - PerceptionCollectable<HeadwayGTU, LaneBasedGTU>; leadersParameterException - if parameter is not presentCopyright © 2014–2019 Delft University of Technology. All rights reserved.