Sungwoo Kim
/
HydraulicControlBoard_PostLIGHT_210420
LIGHT2
Diff: CAN/function_CAN.h
- Revision:
- 38:118df027d851
- Parent:
- 36:a46e63505ed8
- Child:
- 41:abbd4e2af68b
diff -r 60a116154383 -r 118df027d851 CAN/function_CAN.h --- a/CAN/function_CAN.h Mon Nov 25 05:04:12 2019 +0000 +++ b/CAN/function_CAN.h Thu Nov 28 09:18:03 2019 +0000 @@ -94,6 +94,7 @@ #define CRX_ASK_VALVE_PWM_VS_VALVE_POS 43 #define CRX_ASK_VALVE_POS_VS_FLOWRATE 44 #define CRX_ASK_VALVE_POS_NUM 45 +#define CRX_ASK_VALVE_MAX_MIN_POS 46 #define CRX_SET_ERR_CLEAR 150 #define CRX_SET_ROM 146 #define CRX_SET_VALVE_CENTER_OFFSET 147 @@ -140,7 +141,7 @@ #define CTX_VALVE_PWM_VS_VALVE_POS 43 #define CTX_VALVE_POS_VS_FLOWRATE 44 #define CTX_VALVE_POS_NUM 45 - +#define CTX_VALVE_MAX_MIN_POS 46 // Sensor & State Transmission void CAN_TX_POSITION(int32_t t_pos, int32_t t_vel); void CAN_TX_TORQUE(int16_t t_torque); @@ -184,6 +185,7 @@ void CAN_TX_DDV_VALVE_DEADZONE(void); void CAN_TX_VALVE_POS_VS_FLOWRATE(int8_t canindex); void CAN_TX_VALVE_POS_NUM(void); +void CAN_TX_DDV_VALVE_MAX_MIN_POS(void); class State {