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:
- 59:6b4dcd964d0f
- Parent:
- 56:f363a6877c6a
- Child:
- 63:aee44afe6363
--- a/globalFlags.cpp Thu Mar 07 10:06:34 2019 +0000 +++ b/globalFlags.cpp Fri Mar 08 02:30:49 2019 +0000 @@ -46,6 +46,8 @@ typAxlRpm gf_MtBrk; //!< モーターブレーキ時のRPM値更新 typAxlRpm gf_MtReqDct[8]; //!< ダイレクト(FPGA関数直接呼び出し)モーター値更新フラグ +typAxlRpm gf_AngBrk; //!< ブレーキ時の1秒間の目標角度変化値[deg]更新 + typSWCmd gf_SwCmd; //!< スイッチが押されたことを模擬するフラグ enmHbState gf_State = SLEEP; //!< 現在のステートを格納する変数 @@ -95,6 +97,8 @@ } gf_MtBrk.req = false; gf_MtBrk.val = DEF_BRK_RPM; + gf_AngBrk.req = false; + gf_AngBrk.val = DEF_BRK_ANG; for(int i = 0; i < 8; ++i){ gf_MtReqDct[i].req = false;