package org.opentrafficsim.road.gtu.lane.control; import org.djunits.value.vdouble.scalar.Acceleration; import org.opentrafficsim.base.parameters.ParameterException; import org.opentrafficsim.base.parameters.ParameterTypeDouble; import org.opentrafficsim.base.parameters.Parameters; import org.opentrafficsim.road.gtu.lane.LaneBasedGTU; import org.opentrafficsim.road.gtu.lane.perception.PerceptionCollectable; import org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGTU; /** * Linear CACC implementation based on derivatives by Jeroen Ploeg. *
* Copyright (c) 2013-2022 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 13, 2019
* @author Alexander Verbraeck
* @author Peter Knoppers
* @author Wouter Schakel
*/
public class PloegCACC extends PloegACC
{
/** Acceleration error gain parameter. */
public static final ParameterTypeDouble KA = LinearCACC.KA;
/**
* Constructor using default sensors with no delay.
* @param delayedActuation DelayedActuation; delayed actuation
*/
public PloegCACC(final DelayedActuation delayedActuation)
{
super(delayedActuation);
}
/** {@inheritDoc} */
@Override
public Acceleration getFollowingAcceleration(final LaneBasedGTU gtu,
final PerceptionCollectable