Xbeeを実装、speakをfunctionに、rotate消した、calibrationで回るように、ゴール判定を消した
Dependencies: ATP3012 mbed a HMC US015_2 getGPS
Diff: main.cpp
- Revision:
- 18:da59a86eb246
- Parent:
- 17:a1e6729a385e
- Child:
- 19:6c56feca386d
--- a/main.cpp Wed Dec 15 09:17:48 2021 +0000 +++ b/main.cpp Wed Dec 15 10:31:04 2021 +0000 @@ -62,7 +62,7 @@ wait(0.5); Move('2', 0.2); wait(1); - Move('2', 0.1); + Move('2', 0.15); wait(0.2); Move('1', 0); //ちょっと走るのおわり @@ -80,7 +80,7 @@ break; } else { - Move('4', 0.15);//時計回りに回転 + Move('4', 0.19);//時計回りに回転 xbee.printf("now_angle=%lf\r\n", direction); direction = AngleGet(); }