lib/src/main/cpp/test_items2/through_something.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
lib/src/main/cpp/test_items2/through_something.cpp
@@ -51,13 +51,15 @@ distance2StopLine = -distance2StopLine; } // 距离停止线30米前是否有刹车动作 // 距离停止线30米内是否有刹车动作 if (breakActive == 0) { if (distance2StopLine >= LASTEST_BREAK_POINT) { if (distance2StopLine > 0 && distance2StopLine <= LASTEST_BREAK_POINT) { if (ReadCarStatus(BREAK) == BREAK_ACTIVE) { breakActive = 1; } } else { } if (distance2StopLine < 0 && breakActive != 1){ breakActive = -1; // 不按规定减速,不合格 DEBUG("不踩下刹车,不合格");