View Javadoc
1   package org.opentrafficsim.road.gtu.lane.perception.headway;
2   
3   /**
4    * Observable characteristics of a GTU.
5    * <p>
6    * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
8    * </p>
9    * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
10   * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
11   * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
12   */
13  public enum GtuStatus
14  {
15      /** Braking lights are on when observing the headway. */
16      BRAKING_LIGHTS,
17  
18      /** Left turn indicator was on when observing the headway. */
19      LEFT_TURNINDICATOR,
20  
21      /** Right turn indicator was on when observing the headway. */
22      RIGHT_TURNINDICATOR,
23  
24      /** Alarm lights are on. */
25      EMERGENCY_LIGHTS,
26  
27      /** GTU was honking (car) or ringing a bell (cyclist) when observing the headway. */
28      HONK;
29  }