|
@@ -9,7 +9,8 @@
|
|
|
#define RC_ERROR_DRIVER_BEYOND_LIMIT_CAN_NOT_ENABLE_CODE 0x00000005
|
|
|
#define RC_ERROR_DRIVER_NEED_POS_CALIBRATE_CODE 0x00000006
|
|
|
#define RC_ERROR_BATTARY_LEVEL_IS_TOO_LOW_CODE 0x00000007
|
|
|
-#define RC_ERROR_CODE_CUR_MAX_INDEX 0x00000008
|
|
|
+#define RC_ERROR_DRIVER_ENCODER_HAS_BEEN_RESET_CODE 0x00000008
|
|
|
+#define RC_ERROR_CODE_CUR_MAX_INDEX 0x00000009
|
|
|
|
|
|
#define RC_ERROR_MAX_INDEX_CODE (CODE_WHEEL_NUM * 32)
|
|
|
|
|
@@ -21,6 +22,8 @@
|
|
|
#define RC_ERROR_DRIVER_BEYOND_LIMIT_CAN_NOT_ENABLE_MSG "The joint is beyond limit, so can't enable. please rotate the joint."
|
|
|
#define RC_ERROR_DRIVER_NEED_POS_CALIBRATE_MSG "The driver's position need calibrate after power on."
|
|
|
#define RC_ERROR_BATTARY_LEVEL_IS_TOO_LOW_MSG "The Robot's battary is too low, must estop!"
|
|
|
+#define RC_ERROR_DRIVER_ENCODER_HAS_BEEN_RESET_MSG "The Dirver's Encoder has been reset. You need recalibrate the robot joint position!"
|
|
|
+
|
|
|
|
|
|
#define RC_JOINT_ERROR_CLEAR_7303_FAILED_CODE 0x00000001
|
|
|
#define RC_JOINT_ERROR_STATUS_WORD_ERROR_CODE 0x00000002
|
|
@@ -37,7 +40,10 @@
|
|
|
#define RC_JOINT_ERROR_ENCODER_BATTERY_CODE 0x0000000D
|
|
|
#define RC_JOINT_ERROR_MOTOR_FAULT_OCCURED_CODE 0x0000000E
|
|
|
#define RC_JOINT_ERROR_DRIVER_FAULT_OCCURED_CODE 0x0000000F
|
|
|
-#define RC_JOINT_ERROR_CODE_CUR_MAX_INDEX 0x00000010
|
|
|
+#define RC_JOINT_ERROR_DRIVER_CPU_TEMPERATURE_TOO_HEIGH_CODE 0x00000010
|
|
|
+#define RC_JOINT_ERROR_DRIVER_TEMPERATURE_TOO_HEIGH_CODE 0x00000011
|
|
|
+#define RC_JOINT_ERROR_MOTOR_TEMPERATURE_TOO_HEIGH_CODE 0x00000012
|
|
|
+#define RC_JOINT_ERROR_CODE_CUR_MAX_INDEX 0x00000013
|
|
|
#define RC_JOINT_ERROR_MAX_INDEX_CODE (JOINT_CODE_WHEEL_NUM * 32)
|
|
|
|
|
|
#define RC_JOINT_ERROR_CLEAR_7303_FAILED_MSG "Clear driver's 7303 error, calibrate encode vlaue failed."
|
|
@@ -55,6 +61,10 @@
|
|
|
#define RC_JOINT_ERROR_ENCODER_BATTERY_MSG "Driver encoder battery 7303 error BisWnBit."
|
|
|
#define RC_JOINT_ERROR_MOTOR_FAULT_OCCURED_MSG "The motor has error. Please stop Robot."
|
|
|
#define RC_JOINT_ERROR_DRIVER_FAULT_OCCURED_MSG "The driver has error. Please stop Robot."
|
|
|
+#define RC_JOINT_ERROR_DRIVER_CPU_TEMPERATURE_TOO_HEIGH_MSG "The driver's cpu temperature is too heigh. Please stop Robot."
|
|
|
+#define RC_JOINT_ERROR_DRIVER_TEMPERATURE_TOO_HEIGH_MSG "The driver's temperature is too heigh. Please stop Robot."
|
|
|
+#define RC_JOINT_ERROR_MOTOR_TEMPERATURE_TOO_HEIGH_MSG "The motor's temperature is too heigh. Please stop Robot."
|
|
|
+
|
|
|
|
|
|
|
|
|
//warnning
|