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: TVDCTRL.h
- Revision:
- 24:1de0291bc5eb
- Parent:
- 23:ee53d2658801
- Child:
- 25:c21d35c7f0de
diff -r ee53d2658801 -r 1de0291bc5eb TVDCTRL.h --- a/TVDCTRL.h Tue May 30 03:31:27 2017 +0000 +++ b/TVDCTRL.h Thu Jun 29 01:58:49 2017 +0000 @@ -50,13 +50,13 @@ }; const int MAX_MOTOR_TORQUE = 0xFFFF; //LSB : 45/65535 = 0.686655[mNm] -const int MAX_OUTPUT_TORQUE = (int)(MAX_MOTOR_TORQUE * 0.6);//出力最大値 -const int MAX_DISTRIBUTION_TORQUE = (int)(0xFFFF/45.0 * 15.0); //出力MAX時 +const int MAX_OUTPUT_TORQUE = (int)(MAX_MOTOR_TORQUE * 0.6); //出力最大値 +const int MAX_DISTRIBUTION_TORQUE = (int)(0xFFFF/45.0 * 15.0); //出力MAX時 const int MIN_INNERWHEEL_MOTOR_TORQUE = (int)(0xFFFF/45.0 * 2.0); //内輪側モーターの最低トルク(MITSUBA社MC仕様対策) -const int APS_MIN_POSITION =(int)(0xFFFF/3.3 * 1.0); //"正常時"最小入力電圧 -const int APS_MAX_POSITION =(int)(0xFFFF/3.3 * 2.0); //"正常時"最大入力電圧 +const int APS_MIN_POSITION =(int)(0xFFFF/3.3 * 1.0); //"正常時"最小入力電圧 +const int APS_MAX_POSITION =(int)(0xFFFF/3.3 * 2.0); //"正常時"最大入力電圧 const int APS_DEADBAND =(int)((APS_MAX_POSITION - APS_MIN_POSITION) * 0.2); //APS信号不感帯 const int APS_VALID_RANGE =(APS_MAX_POSITION - APS_MIN_POSITION) - APS_DEADBAND; //APS信号有効範囲 const int APS_DEVIATION_TOLERANCE =(int)((APS_MAX_POSITION - APS_MIN_POSITION) * 0.1); //10%偏差許容値