View Javadoc
1   package org.opentrafficsim.road.gtu.lane.perception.mental.channel;
2   
3   import org.opentrafficsim.road.gtu.lane.perception.mental.Task;
4   
5   /**
6    * Task in the context of a channel-based perception.
7    * <p>
8    * Copyright (c) 2024-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
10   * </p>
11   * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
12   */
13  public interface ChannelTask extends Task
14  {
15  
16      /** Standard front channel. */
17      Object FRONT = "Front";
18  
19      /** Standard rear channel. */
20      Object REAR = "Rear";
21  
22      /** Standard left channel. */
23      Object LEFT = "Left";
24  
25      /** Standard right channel. */
26      Object RIGHT = "Right";
27  
28      /** Standard in-vehicle channel. */
29      Object IN_VEHICLE = "InVehicle";
30  
31      /**
32       * Return the channel this task pertains to.
33       * @return channel this task pertains to.
34       */
35      Object getChannel();
36  
37  }