Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TVDctrller2017_brdRev1_ver6 by
Diff: Global.h
- Revision:
- 45:8e5d35beb957
- Parent:
- 44:d433bb5f77c0
- Child:
- 46:16f1a7a01f5f
diff -r d433bb5f77c0 -r 8e5d35beb957 Global.h --- a/Global.h Sat Dec 02 10:52:00 2017 +0000 +++ b/Global.h Wed Dec 06 08:02:28 2017 +0000 @@ -25,13 +25,15 @@ }; typedef enum { - FR_WHEEL = 0, FL_WHEEL, RR_MOTOR, RL_MOTOR, SELECT_T_NUM + FR_WHEEL = 0, FL_WHEEL = 1, RR_MOTOR = 2, RL_MOTOR = 3, SELECT_T_NUM }select_t; const float M_PI =3.1415f; //[-] -const double ratioLPF =0.67; //各センサLPF:CutOff:20Hz -const float ratioLPF_RPS =0.27f; //各センサLPF:CutOff:5Hz +const double ratioLPF =0.67; //各センサLPF:CutOff:20Hz +const double ratioLPF_ACC_BRK =0.061; //各センサLPF:CutOff:1Hz +//const double ratioLPF_ACC_BRK =0.67; //各センサLPF:CutOff:1Hz +const float ratioLPF_RPS =0.27f; //各センサLPF:CutOff:5Hz #define myAbs(x) (((x)>0)?(x):(-(x)))