Class CaccPerception
java.lang.Object
org.opentrafficsim.core.gtu.perception.AbstractPerceptionCategory<LaneBasedGtu,LanePerception>
org.opentrafficsim.road.gtu.perception.categories.neighbors.CaccPerception
- All Implemented Interfaces:
Type<AbstractPerceptionCategory<LaneBasedGtu,,LanePerception>> PerceptionCategory<LaneBasedGtu,,LanePerception> LongitudinalControllerPerception
public class CaccPerception
extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception>
implements LongitudinalControllerPerception
CACC perception.
Copyright (c) 2013-2026 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
Fields inherited from interface org.opentrafficsim.road.gtu.perception.categories.neighbors.LongitudinalControllerPerception
DELAY, RANGE -
Constructor Summary
ConstructorsConstructorDescriptionCaccPerception(LanePerception perception) Constructor using default sensors with zero delay.CaccPerception(LanePerception perception, PerceivedGtuType sensors) Constructor using specified sensors. -
Method Summary
Modifier and TypeMethodDescriptionReturns the leaders.Methods inherited from class org.opentrafficsim.core.gtu.perception.AbstractPerceptionCategory
cacheAsString, computeIfAbsent, computeIfAbsent, computeIfAbsent, getGtu, getPerception, getTimestamp
-
Constructor Details
-
CaccPerception
Constructor using default sensors with zero delay.- Parameters:
perception- perception
-
CaccPerception
Constructor using specified sensors.- Parameters:
perception- perceptionsensors- onboard sensor information
-
-
Method Details
-
getLeaders
Description copied from interface:LongitudinalControllerPerceptionReturns the leaders.- Specified by:
getLeadersin interfaceLongitudinalControllerPerception- Returns:
- leaders
-