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:
- 56:f363a6877c6a
- Parent:
- 53:b09c062cc31c
- Child:
- 59:6b4dcd964d0f
--- a/globalFlags.cpp Mon Mar 04 08:07:20 2019 +0000 +++ b/globalFlags.cpp Wed Mar 06 02:18:47 2019 +0000 @@ -43,6 +43,7 @@ typAxlRpm gf_MtAttOfs[4]; //!< モーター姿勢制御オフセット値更新 typAxlRpm gf_MtReqOfs[4]; //!< モーターオフセット値更新 typAxlRpm gf_MtReqU[4]; //!< モーターユーザー値更新 +typAxlRpm gf_MtBrk; //!< モーターブレーキ時のRPM値更新 typAxlRpm gf_MtReqDct[8]; //!< ダイレクト(FPGA関数直接呼び出し)モーター値更新フラグ typSWCmd gf_SwCmd; //!< スイッチが押されたことを模擬するフラグ @@ -92,7 +93,9 @@ gf_MtAttOfs[i].req = false; gf_MtAttOfs[i].val = 0; } - + gf_MtBrk.req = false; + gf_MtBrk.val = DEF_BRK_RPM; + for(int i = 0; i < 8; ++i){ gf_MtReqDct[i].req = false; gf_MtReqDct[i].val = 0;