![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
distribution-201229
Diff: setting.h
- Revision:
- 33:91b17819ec30
- Parent:
- 32:4b8c0fedaf2c
- Child:
- 35:34ce7b0347b8
diff -r 4b8c0fedaf2c -r 91b17819ec30 setting.h --- a/setting.h Mon Nov 11 09:48:00 2019 +0000 +++ b/setting.h Tue Nov 12 11:29:36 2019 +0000 @@ -147,8 +147,8 @@ extern float I_GAIN_JOINT_TORQUE; extern float D_GAIN_JOINT_TORQUE; -extern int16_t VALVE_DEADZONE_PLUS; -extern int16_t VALVE_DEADZONE_MINUS; +extern float VALVE_DEADZONE_PLUS; +extern float VALVE_DEADZONE_MINUS; extern int16_t VELOCITY_COMP_GAIN; extern int16_t COMPLIANCE_GAIN; @@ -260,10 +260,14 @@ extern int VALVE_MAX_POS; extern int VALVE_MIN_POS; -extern int DDV_CENTER; +extern float DDV_CENTER; extern int VALVE_POS_NUM; extern int VALVE_CENTER_OFFSET_times10; extern float VALVE_CENTER_OFFSET; +extern float VALVE_DZ_MINUS_OFFSET; +extern float VALVE_DZ_PLUS_OFFSET; +extern float VALVE_DEADZONE_MINUS; +extern float VALVE_DEADZONE_PLUS; extern int TMR3_COUNT_FINDHOME; extern int TMR3_COUNT_FLOWRATE;