Sungwoo Kim
/
HydraulicControlBoard_Rainbow_v1_2_copy
2011
Diff: CAN/function_CAN.h
- Revision:
- 164:645207e160ca
- Parent:
- 71:f80dc3970c99
- Child:
- 187:637092202815
--- a/CAN/function_CAN.h Fri Oct 16 00:25:32 2020 +0000 +++ b/CAN/function_CAN.h Mon Nov 16 02:23:23 2020 +0000 @@ -100,6 +100,9 @@ #define CRX_SET_PID_GAIN_OPP 152 #define CRX_DELAY_TEST 153 #define CRX_SET_NN_CONTROL_FLAG 154 +#define CRX_SET_FREQ_TEST 155 +#define CRX_ASK_BUFFER 156 +#define CRX_SET_STEP_TEST 157 #define CRX_JUMP_STATUS 255 // CID_TX_INFO - TX INFO type @@ -140,6 +143,7 @@ #define CTX_VALVE_POS_VS_FLOWRATE 44 #define CTX_VALVE_POS_NUM 45 #define CTX_VALVE_MAX_MIN_POS 46 +#define CTX_SEND_BUFFER 156 // Sensor & State Transmission void CAN_TX_POSITION_FT(int16_t t_pos, int16_t t_vel, int16_t t_torq); @@ -187,6 +191,7 @@ 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); +void CAN_TX_BUFFER(int16_t t_cnt_buffer); class State {