GtuStatus.java

  1. package org.opentrafficsim.road.gtu.lane.perception.headway;

  2. /**
  3.  * Observable characteristics of a GTU.
  4.  * <p>
  5.  * Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
  6.  * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
  7.  * </p>
  8.  * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
  9.  * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
  10.  * @author <a href="https://dittlab.tudelft.nl">Wouter Schakel</a>
  11.  */
  12. public enum GtuStatus
  13. {
  14.     /** Braking lights are on when observing the headway. */
  15.     BRAKING_LIGHTS,

  16.     /** Left turn indicator was on when observing the headway. */
  17.     LEFT_TURNINDICATOR,

  18.     /** Right turn indicator was on when observing the headway. */
  19.     RIGHT_TURNINDICATOR,

  20.     /** Alarm lights are on. */
  21.     EMERGENCY_LIGHTS,

  22.     /** GTU was honking (car) or ringing a bell (cyclist) when observing the headway. */
  23.     HONK;
  24. }