Xbeeを実装、speakをfunctionに、rotate消した、calibrationで回るように、ゴール判定を消した
Dependencies: ATP3012 mbed a HMC US015_2 getGPS
Diff: main.cpp
- Revision:
- 22:23d9592bca04
- Parent:
- 21:8469bb5e099f
- Child:
- 23:6722c5f0c3f3
--- a/main.cpp Thu Dec 16 09:21:36 2021 +0000 +++ b/main.cpp Thu Dec 16 09:56:15 2021 +0000 @@ -14,7 +14,7 @@ // 変数宣言 double GPS_x, GPS_y; // 現在地の座標 double direction; // 次CPへの向き - double CPs_x[2]={334.54712081011074,34.54785702141566}; //CPリスト(x座標) + double CPs_x[2]={34.54712081011074,34.54785702141566}; //CPリスト(x座標) double CPs_y[2]={135.50777950352497,135.50680049992633}; // CPリスト(y座標) double next_CP_x, next_CP_y;