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.h
- Revision:
- 64:40943c843da7
- Parent:
- 62:4b873328d3a8
- Parent:
- 63:aee44afe6363
- Child:
- 73:0720e5550476
--- a/globalFlags.h Mon Mar 11 04:07:43 2019 +0000 +++ b/globalFlags.h Mon Mar 11 04:24:00 2019 +0000 @@ -46,6 +46,12 @@ #define DEF_BRK_ANG 20 /** +* @def DEF_MOT_OFFSET +* @brief モーターのTAKE_OFFステート時に使用するデフォルトオフセット値 +*/ +#define DEF_MOT_OFFSET 1500 + +/** * @def UPDATE_RATE * @brief タスクのアップデートレート 50Hz */ @@ -321,6 +327,7 @@ extern typAxlRpm gf_MtReqOfs[4]; //!< モーターオフセット値更新 extern typAxlRpm gf_MtReqU[4]; //!< モーターユーザー値更新 extern typAxlRpm gf_MtBrk; //!< モーターブレーキ時のRPM値更新 +extern typAxlRpm gf_MtDefaultOffset;//!< モーターのTAKE_OFFステート時に使用するデフォルトオフセット値更新 extern typAxlRpm gf_MtReqDct[8]; //!< ダイレクト(FPGA関数直接呼び出し)モーター値更新フラグ extern typAxlRpm gf_AngBrk; //!< ブレーキ時の1秒間の目標角度変化値[deg]更新