Interface DelayedActuation
-
public interface DelayedActuation
Delays the actuation of acceleration. This is not part of the vehicle model as that is used for both human and automated control, which follow different vehicle capability semantics.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Mar 12, 2019
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Field Summary
Fields Modifier and Type Field Description static DelayedActuation
NONE
No delayed actuation.static ParameterTypeDuration
TAU
Parameter for actuation delay.static DelayedActuation
TAUDELAYED
Tau delayed actuation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Acceleration
delayActuation(Acceleration desiredAcceleration, LaneBasedGTU gtu)
Delays the actuation of acceleration.
-
-
-
Field Detail
-
NONE
static final DelayedActuation NONE
No delayed actuation.
-
TAU
static final ParameterTypeDuration TAU
Parameter for actuation delay.
-
TAUDELAYED
static final DelayedActuation TAUDELAYED
Tau delayed actuation.
-
-
Method Detail
-
delayActuation
Acceleration delayActuation(Acceleration desiredAcceleration, LaneBasedGTU gtu)
Delays the actuation of acceleration.- Parameters:
desiredAcceleration
- Acceleration; desired accelerationgtu
- LaneBasedGTU; gtu- Returns:
- Acceleration; delayed acceleration
-
-