2017.11伊豆大島共同打ち上げ実験の開放用プログラム
Dependencies: BMP180 MPU6050 mbed
Fork of 2017_11_1114 by
Revision 9:5eda5aad3916, committed 2017-11-14
- Comitter:
- oichan
- Date:
- Tue Nov 14 03:40:58 2017 +0000
- Parent:
- 8:b10169df8f5f
- Commit message:
- flight model
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b10169df8f5f -r 5eda5aad3916 main.cpp --- a/main.cpp Fri Nov 10 12:43:15 2017 +0000 +++ b/main.cpp Tue Nov 14 03:40:58 2017 +0000 @@ -97,8 +97,6 @@ Alt_buff[i] = _getAlt(); } Land_Alt = _median(Alt_buff,10); -// pc.printf("Land_Alt = %f\r\n",Land_Alt); -// for(int i=0;i<10;i++)pc.printf("%f\n\r",Alt_buff[i]); /* 発射判定 */ while(1){ @@ -111,7 +109,6 @@ para_timer.start(); oshirase2 = 1; // for(int i=0;i<10;i++)pc.printf("%f\n\r",Acc_buff[i]); -// pc.printf("Acc = %f\r\n",Acc); break; } } @@ -128,7 +125,6 @@ Alt_buff[j] = _getAlt(); } Alt_median_buff[i] = _median(Alt_buff,10); -// pc.printf("%f\r\n",Alt_median_buff[i]); if(Alt_median_buff[i] < Alt_median_buff[i-1]-0.1) Alt_cnt++; } // pc.printf("%d\r\n",Alt_cnt); @@ -139,7 +135,6 @@ oshirase2 = 0; para_timer.stop(); // pc.printf("para open\r\n"); -// for(int i=0;i<10;i++)pc.printf("%f\n\r",Alt_buff[i]); break; } } @@ -156,7 +151,6 @@ oshirase2 = 1; leaf_timer.stop(); // pc.printf("leafing unlock\r\n"); -// for(int i=0;i<10;i++)pc.printf("%f\n\r",Alt_buff[i]); break; } }