春ロボ 2班 2017
/
asimawari
主にオムニです。
Fork of asimawari by
Diff: ACT/max_determine.h
- Revision:
- 2:0a99389df632
- Parent:
- 0:1787ed4e6e61
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ACT/max_determine.h Wed Oct 25 08:54:30 2017 +0000 @@ -0,0 +1,14 @@ + +double max() +{ + double m=0; + for(i=0; i<=2; i++) { + + double MAX=fabs(M[i]); + if(MAX >= m) { + m=MAX; + } + + } + return m; +} \ No newline at end of file