Пример #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="lane"></param>
 public OpposingLateralReasoning(ArbiterLane lane, SideObstacleSide sos)
 {
     this.lane           = lane;
     this.ForwardMonitor = new OpposingForwardQuadrantMonitor();
     this.LateralMonitor = new OpposingLateralQuadrantMonitor(sos);
     this.RearMonitor    = new OpposingRearQuadrantMonitor(lane, sos);
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="lane"></param>
 public OpposingLateralReasoning(ArbiterLane lane, SideObstacleSide sos)
 {
     this.lane = lane;
     this.ForwardMonitor = new OpposingForwardQuadrantMonitor();
     this.LateralMonitor = new OpposingLateralQuadrantMonitor(sos);
     this.RearMonitor = new OpposingRearQuadrantMonitor(lane, sos);
 }
 public SideObstacles GetSideObstacles(SideObstacleSide side)
 {
     return this.messagingListener.SideSickObstacles(side);
 }
 /// <summary>
 /// Constructor
 /// </summary>
 public LateralQuadrantMonitor(SideObstacleSide sos)
 {
     this.LateralClearStopwatch = new Stopwatch();
     this.VehicleSide = sos;
 }
 /// <summary>
 /// obstacles to the side
 /// </summary>
 public SideObstacles SideSickObstacles(SideObstacleSide sos)
 {
     return sos == SideObstacleSide.Driver ? this.sideSickObstaclesDriver : this.sideSickObstaclesPass;
 }
Пример #6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="sos"></param>
 public OpposingLateralQuadrantMonitor(SideObstacleSide sos)
 {
     this.VehicleSide           = sos;
     this.LateralClearStopwatch = new Stopwatch();
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="lane"></param>
 public RearQuadrantMonitor(ArbiterLane lane, SideObstacleSide sos)
 {
     this.lane = lane;
     this.RearClearStopwatch = new Stopwatch();
     this.VehicleSide = sos;
 }
 public SideObstacles GetSideObstacles(SideObstacleSide side)
 {
     return(this.messagingListener.SideSickObstacles(side));
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="lane"></param>
 public RearQuadrantMonitor(ArbiterLane lane, SideObstacleSide sos)
 {
     this.lane = lane;
     this.RearClearStopwatch = new Stopwatch();
     this.VehicleSide        = sos;
 }
 /// <summary>
 /// obstacles to the side
 /// </summary>
 public SideObstacles SideSickObstacles(SideObstacleSide sos)
 {
     return(sos == SideObstacleSide.Driver ? this.sideSickObstaclesDriver : this.sideSickObstaclesPass);
 }