Explorar el Código

modify brake trigger

zwh hace 10 meses
padre
commit
6c5d062230
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      trigger/pjisuv/cicv_location/Brake/main/Brake.go

+ 1 - 1
trigger/pjisuv/cicv_location/Brake/main/Brake.go

@@ -20,7 +20,7 @@ func Rule(data *pjisuv_msgs.PerceptionLocalization) string {
 			fmt.Println("Recovered from panic:", r)
 		}
 	}()
-	if data.AccelX*9.8 < -4.0 {
+	if data.AccelX*9.8 < -14.0 {
 		return "Brake"
 	} else {
 		return ""