春ロボ 2班 2017
/
asimawari
主にオムニです。
Fork of asimawari by
Diff: main.cpp
- Revision:
- 2:0a99389df632
- Parent:
- 1:b15569582801
--- a/main.cpp Tue Oct 24 15:57:28 2017 +0000 +++ b/main.cpp Wed Oct 25 08:54:30 2017 +0000 @@ -3,18 +3,30 @@ #define Pi 3.14159 #include "algorithm" #include "EC.h" +#include "hcsr04.h" #include "pin_define.h" #include "atai.h" //値 +//測距用 #include "photo.h" //フォトリフレクタ #include "sokuteirinn.h" //測定輪の値の取得 (x,y) -#include "sokkyo.h" //測距 -#include "hcsr04.h" //超音波センサ +#include "tyouonnpa.h" //超音波センサの値の取得 (distX,distY) #include "jyairo.h" //ジャイロ + + +//走行用 #include "motor_move.h" //モーターを動かす関数 #include "x.y_theta_dainyuu.h" //x,y方向をθに変換してモーターを呼び出す #include "max_determine.h" //方向による出力変化の補正 -int main() {} +int main() +{ + while(1) { + + + + } + +}