yy1717
2020-10-23 c484cbb09d445e2ab30ea011c6d2ffd87202bb26
lib/src/main/cpp/test_items2/overtake.cpp
@@ -25,7 +25,7 @@
{
    DEBUG("超越前方车辆");
    PlayTTS("请超越前方车辆", TtsBack);
    PlayTTS(examParam.overtake_begin_tts, TtsBack);
    setup = 0;
    originalLane = ori_lane;
@@ -51,7 +51,7 @@
        if (originalLane == currLane) {
        } else if (currLane == originalLane + 1) {
            PlayTTS("完成超车", NULL);
            PlayTTS(examParam.overtake_end_tts, NULL);
            return false;
        } else {
            DEBUG("超车违规变道");
@@ -60,7 +60,7 @@
        }
    }
    if (ReadOdo() - maxMoveDistance > 150) {
    if (ReadOdo() - maxMoveDistance > examParam.overtake_limit_distance) {
        // 超车未完成
        DEBUG("超车固定距离内未完成 当前里程 %f", ReadOdo());
        AddExamFault(3, rtkTime);