From 7ad5b81283c39e66ba2ca84314e283f277fc77e0 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期五, 03 四月 2020 11:39:17 +0800
Subject: [PATCH] 坐标
---
lib/src/main/cpp/test_items/park_bottom.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/src/main/cpp/test_items/park_bottom.cpp b/lib/src/main/cpp/test_items/park_bottom.cpp
index 3a59252..e200125 100644
--- a/lib/src/main/cpp/test_items/park_bottom.cpp
+++ b/lib/src/main/cpp/test_items/park_bottom.cpp
@@ -90,7 +90,7 @@
if (CrashRedLine(map, car, who)) {
- if (!occurCrashRedLine) {
+ if (!occurCrashRedLine && reverseCar) {
occurCrashRedLine = true;
// 杞﹁韩鍑虹嚎锛屼笉鍚堟牸
AddExamFault(7, rtkTime);
@@ -157,7 +157,7 @@
if (moveDirect == storeMoveDirectBeforeStop) {
// 鍚屾柟鍚戝啀鍚姩锛岀户缁垽鏂槸鍚﹀仠杞﹁秴鏃�
- if (tp - stopTimepoint >= STOP_CAR_TIME) {
+ if (tp - stopTimepoint >= STOP_CAR_TIME && reverseCar) {
// 鍋滆溅瓒�2绉掞紝姣忔鎵�5鍒�
AddExamFault(11, rtkTime);
DEBUG("涓�斿仠杞�");
--
Gitblit v1.8.0