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.
Diff: globalFlags.cpp
- Revision:
- 73:0720e5550476
- Parent:
- 63:aee44afe6363
- Child:
- 75:215dd63032d6
diff -r 1c8d13de08c9 -r 0720e5550476 globalFlags.cpp --- a/globalFlags.cpp Mon Mar 11 11:48:58 2019 +0000 +++ b/globalFlags.cpp Tue Mar 19 12:22:31 2019 +0000 @@ -30,6 +30,8 @@ bool gf_BlinkLED; +bool gf_EnbImuRead; //!< IMUの値読み出し可否 TRUE:読み込み FALSE:無視(0埋め) + typPrintFlg gf_Print; //!< デバッグプリントフラグ(1回表示) typPrintFlg gf_Mon; //!< デバッグモニタフラグ(繰り返し表示) typCalFlag gf_Cal; //!< キャリブレーションフラグ @@ -67,6 +69,8 @@ gf_BlinkLED = false; + gf_EnbImuRead = false; + // gf_Print.flg = 0; // gf_Mon.flg = 0; gf_Print.d1.flg = 0; @@ -114,9 +118,9 @@ gf_State = SLEEP; gf_StateEnt = false; g_PidPara.PP = 2; - g_PidPara.P = 700000; - g_PidPara.I = 200000; - g_PidPara.D = 700000; + g_PidPara.P = 2800000; + g_PidPara.I = 800000; + g_PidPara.D = 2800000; g_PidPara.IMax = 1000000; g_PidPara.IMin = -1000000; g_PidPara.mode = PID_0_OFF; @@ -299,4 +303,3 @@ } } - \ No newline at end of file