aboutsummaryrefslogtreecommitdiff
path: root/robot/errcatch.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-07 23:46:48 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-07 23:46:48 +0200
commit0d3c52e49dc34344f335fd6d7b214592723cbc93 (patch)
tree36c8b974556a5ee3c955549131ac3858208d373b /robot/errcatch.c
parentc88c7c7c6e6c687c3d8170cb07a467aa3c4d7f48 (diff)
implemented obstacle detection
Diffstat (limited to 'robot/errcatch.c')
-rw-r--r--robot/errcatch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/robot/errcatch.c b/robot/errcatch.c
index 17c96fa..9aeae9e 100644
--- a/robot/errcatch.c
+++ b/robot/errcatch.c
@@ -16,6 +16,9 @@ void w2_errcatch_handle_error(w2_s_error *error) {
case W2_E_WARN_UNCAUGHT_ERROR: {
break;
}
+ case W2_E_WARN_OBSTACLE_DETECTED: break;
+ case W2_E_CRIT_OBSTACLE_STUCK: break;
+ case W2_E_WARN_MODE_HISTORY_BUFFER_IOB: break;
default: {
g_w2_error_uncaught = true;
#ifdef W2_SIM