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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DelayedActuation
No delayed actuation.static final org.opentrafficsim.base.parameters.ParameterTypeDuration
Parameter for actuation delay.static final DelayedActuation
Tau delayed actuation. -
Method Summary
Modifier and TypeMethodDescriptionorg.djunits.value.vdouble.scalar.Acceleration
delayActuation
(org.djunits.value.vdouble.scalar.Acceleration desiredAcceleration, LaneBasedGtu gtu) Delays the actuation of acceleration.
-
Field Details
-
NONE
No delayed actuation. -
TAU
static final org.opentrafficsim.base.parameters.ParameterTypeDuration TAUParameter for actuation delay. -
TAUDELAYED
Tau delayed actuation.
-
-
Method Details
-
delayActuation
org.djunits.value.vdouble.scalar.Acceleration delayActuation(org.djunits.value.vdouble.scalar.Acceleration desiredAcceleration, LaneBasedGtu gtu) Delays the actuation of acceleration.- Parameters:
desiredAcceleration
- Acceleration; desired accelerationgtu
- LaneBasedGtu; gtu- Returns:
- Acceleration; delayed acceleration
-