From d9df6e65017e9f4409b33a13e4aa62f37e685946 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 14 May 2022 00:49:58 +0200 Subject: error handling done + better simulation / debug messaging --- robot/consts.h | 1 + 1 file changed, 1 insertion(+) (limited to 'robot/consts.h') diff --git a/robot/consts.h b/robot/consts.h index 93cafa5..c7bbc3f 100644 --- a/robot/consts.h +++ b/robot/consts.h @@ -32,4 +32,5 @@ enum w2_e_errorcodes { W2_ERR_BATTERY_LOW = 0x00 | W2_ERR_TYPE_WARN, W2_ERR_OBSTACLE_DETECTED = 0x01 | W2_ERR_TYPE_WARN, W2_ERR_CYCLE_EXPIRED = 0x02 | W2_ERR_TYPE_WARN, + W2_ERR_UNCAUGHT_ERROR = 0x03 | W2_ERR_TYPE_WARN, }; -- cgit v1.2.3