Ver código fonte

add AuLongStop trigger

zwh 10 meses atrás
pai
commit
60dbf5d694

+ 3 - 0
trigger/pjisuv/cicv_location/AuLongStop/main/AuLongStop.go

@@ -42,6 +42,9 @@ func Rule(data *pjisuv_msgs.PerceptionLocalization, param pjisuv_param.PjisuvPar
 			StartTime = 0
 			IsStopped = false
 		}
+	} else {
+		StartTime = 0
+		IsStopped = false
 	}
 	return ""
 }