yy1717
2020-08-20 2d6a9d02c77d7e08d4f18ee87d6e3d337b949f47
lib/src/main/cpp/test_items2/drive_straight.cpp
@@ -31,9 +31,9 @@
    ttsPlayEnd = 0;
    if (!tts.empty()) {
        examTtsSeq = PlayTTS(tts.c_str());
        examTtsSeq = PlayTTS(tts.c_str(), NULL);
    } else {
        examTtsSeq = PlayTTS("请保持直线行驶");
        examTtsSeq = PlayTTS("请保持直线行驶", NULL);
    }
    distanceToStartSum = 0;
@@ -88,7 +88,7 @@
    if (distanceToStart + distanceToStartSum > 105) {
        DEBUG("离开直线行驶区域");
        PlayTTS("直线行驶结束");
        PlayTTS("直线行驶结束", NULL);
        return -1;
    }
    return 1;