speak割り込み 障害物の後、走ってから、目的地の方を向く

Dependencies:   ATP3012 mbed a HMC US015_2 getGPS

Files at this revision

API Documentation at this revision

Comitter:
miyajitakenari
Date:
Mon Dec 13 10:07:09 2021 +0000
Parent:
3:e137a2979ff1
Commit message:
a

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r e137a2979ff1 -r bd33b15ecac4 main.cpp
--- a/main.cpp	Thu Dec 09 11:18:25 2021 +0000
+++ b/main.cpp	Mon Dec 13 10:07:09 2021 +0000
@@ -82,6 +82,7 @@
                     else {
                         Move('4', 0.15);//時計回りに回転
                         xbee.printf("now_angle=%lf\r\n", direction);
+                        direction = AngleGet();
                         }
                 }