diff --git a/libraries/AP_Gripper/AP_Gripper.h b/libraries/AP_Gripper/AP_Gripper.h index e1a9087d4d..29a7c24c44 100644 --- a/libraries/AP_Gripper/AP_Gripper.h +++ b/libraries/AP_Gripper/AP_Gripper.h @@ -63,6 +63,7 @@ public: AP_Int8 _enabled; // grabber enable/disable typedef enum { + STATE_NEUTRAL, STATE_GRABBING, STATE_RELEASING, STATE_GRABBED, @@ -78,7 +79,7 @@ public: AP_Float autoclose_time; // Automatic close time (in seconds) AP_Int16 uavcan_hardpoint_id; - gripper_state state = STATE_RELEASED; + gripper_state state = STATE_NEUTRAL; } config; private: