From 2d6a9d02c77d7e08d4f18ee87d6e3d337b949f47 Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期四, 20 八月 2020 19:35:17 +0800 Subject: [PATCH] 坐标 --- lib/src/main/cpp/test_items2/drive_straight.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/main/cpp/test_items2/drive_straight.cpp b/lib/src/main/cpp/test_items2/drive_straight.cpp index 817d957..3f26008 100644 --- a/lib/src/main/cpp/test_items2/drive_straight.cpp +++ b/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; -- Gitblit v1.8.0