201803_oshima Team.F.C.
Dependencies: BMP180 MPU6050 SDFileSystem mbed
Fork of 201803_oshima_jodan by
Revision 17:6538f06e2f47, committed 2018-03-24
- Comitter:
- sashida_h
- Date:
- Sat Mar 24 17:06:52 2018 +0000
- Parent:
- 14:16a16047aed2
- Commit message:
- OK
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 16a16047aed2 -r 6538f06e2f47 main.cpp --- a/main.cpp Mon Mar 19 17:09:25 2018 +0000 +++ b/main.cpp Sat Mar 24 17:06:52 2018 +0000 @@ -193,7 +193,7 @@ fprintf(fp, "%f,%f,%f,%f,%f,%f,%f,%d,%d\r\n",Alt_now,a[0],a[1],a[2],d[0],d[1],d[2],t,Cnt_para); if(Alt_now > Max_Alt) Max_Alt = Alt_now; i = 0; - if(tf_para == true && t > HANTEI ){ //パラ開くまでは頂点判定 + if(tf_para == true && t > HANTEI ){ Alt_buff[Cnt_buff+1] = Alt_now; if(Alt_buff[Cnt_buff]-Alt_buff[Cnt_buff+1] > ALT) Cnt_para++; //直前の値(0.2秒前より1ALTm降下)より小さければカウント+1 // twe.printf("Cnt_para:%d\r\n", Cnt_para);