Class PloegACC

    • Field Detail

      • KD

        public static final org.opentrafficsim.base.parameters.ParameterTypeDouble KD
        Gap error derivative gain parameter.
    • Constructor Detail

      • PloegACC

        public PloegACC​(DelayedActuation delayedActuation)
        Constructor using default sensors with no delay.
        Parameters:
        delayedActuation - DelayedActuation; delayed actuation
    • Method Detail

      • getFollowingAcceleration

        public Acceleration getFollowingAcceleration​(LaneBasedGTU gtu,
                                                     PerceptionCollectable<HeadwayGTU,​LaneBasedGTU> leaders,
                                                     org.opentrafficsim.base.parameters.Parameters settings)
                                              throws org.opentrafficsim.base.parameters.ParameterException
        Returns the following acceleration of the longitudinal control. This method is only invoked if there is at least 1 leader.
        Overrides:
        getFollowingAcceleration in class LinearACC
        Parameters:
        gtu - LaneBasedGTU; gtu
        leaders - PerceptionCollectable<HeadwayGTU, LaneBasedGTU>; leaders
        settings - Parameters; system settings
        Returns:
        Acceleration; following acceleration of the longitudinal control
        Throws:
        org.opentrafficsim.base.parameters.ParameterException - if parameter is not present