/// <summary> /// Constructor /// </summary> /// <param name="vehicleId"></param> public VehicleAgent(int vehicleId) { this.VehicleId = vehicleId; this.StateMonitor = new StateMonitor(); this.QueuingState = new QueuingMonitor(); this.BirthTimer(); }
/// <summary> /// Constructor /// </summary> /// <param name="vehicleId"></param> public VehicleAgent(SceneEstimatorTrackedCluster ov) { this.VehicleId = ov.id; this.StateMonitor = new StateMonitor(); this.QueuingState = new QueuingMonitor(); this.UpdateState(ov); this.BirthTimer(); }
public VehicleAgent(bool temp, bool temp2) { this.VehicleId = 5000; SceneEstimatorTrackedCluster setc = new SceneEstimatorTrackedCluster(); setc.isStopped = true; setc.relativePoints = new Coordinates[0]; this.StateMonitor = new StateMonitor(); this.QueuingState = new QueuingMonitor(); this.BirthTimer(); this.StateMonitor.Observed = setc; }