修正済みby皆川
Dependencies: mbed Servo cansat_integrated_2 BMP180
Dependents: cansat_integrated_2
Diff: direction.h
- Revision:
- 13:c482c4d7a585
- Parent:
- 12:79946f960100
diff -r 79946f960100 -r c482c4d7a585 direction.h --- a/direction.h Fri Nov 05 15:41:24 2021 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#include "mbed.h" -#include "getGPS.h" -#include "Movement.h" -#include "Servo.h" - -class direction -{ - private: - - int s; - float x_0 ,y_0; //中間地点の座標(未定) - float x_01,y_01; //ゴール地点の座標(未定) - float x_1 ,y_1; //現在地 - float x_2 ,y_2; //20秒前の現在地 - float theta; //CanSatから見た目的地の角度 - float d,d1,d2; //dはCanSatの20秒間の移動距離,d1はCanSatと中間地点の距離、d2はゴール地点との距離(単位はm) - - public: - - //歩行 - void walk(); - -}; - - - \ No newline at end of file