Class PloegACC
java.lang.Object
org.opentrafficsim.road.gtu.lane.control.AbstractActuatedControl
org.opentrafficsim.road.gtu.lane.control.AbstractLinearFreeControl
org.opentrafficsim.road.gtu.lane.control.LinearACC
org.opentrafficsim.road.gtu.lane.control.PloegACC
- All Implemented Interfaces:
 LongitudinalControl
- Direct Known Subclasses:
 PloegCACC
public class PloegACC extends LinearACC
 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 Apr 11, 2019 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Field Summary
Fields Modifier and Type Field Description static ParameterTypeDoubleKDGap error derivative gain parameter.Fields inherited from class org.opentrafficsim.road.gtu.lane.control.AbstractActuatedControl
TDACC, TDCACC, X0 - 
Constructor Summary
Constructors Constructor Description PloegACC(DelayedActuation delayedActuation)Constructor using default sensors with no delay. - 
Method Summary
Modifier and Type Method Description AccelerationgetFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.Methods inherited from class org.opentrafficsim.road.gtu.lane.control.AbstractLinearFreeControl
getDesiredAccelerationMethods inherited from class org.opentrafficsim.road.gtu.lane.control.AbstractActuatedControl
delayActuation, getAcceleration 
- 
Field Details
- 
KD
Gap error derivative gain parameter. 
 - 
 - 
Constructor Details
- 
PloegACC
Constructor using default sensors with no delay.- Parameters:
 delayedActuation- DelayedActuation; delayed actuation
 
 - 
 - 
Method Details
- 
getFollowingAcceleration
public Acceleration getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings) throws ParameterExceptionReturns the following acceleration of the longitudinal control. This method is only invoked if there is at least 1 leader.- Overrides:
 getFollowingAccelerationin classLinearACC- Parameters:
 gtu- LaneBasedGTU; gtuleaders- PerceptionCollectable<HeadwayGTU, LaneBasedGTU>; leaderssettings- Parameters; system settings- Returns:
 - Acceleration; following acceleration of the longitudinal control
 - Throws:
 ParameterException- if parameter is not present
 
 -