From 439400f76e203063b3f019354a9d5fd73230623c Mon Sep 17 00:00:00 2001 From: RomanBapst Date: Thu, 11 Nov 2021 15:44:39 +0300 Subject: [PATCH] commander: don't ack gimbal commands - this leads to an unnecessary amount of acks which can in turn overflow the orb queue Signed-off-by: RomanBapst --- src/modules/commander/Commander.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/commander/Commander.cpp b/src/modules/commander/Commander.cpp index 2fe39d4aed..c65636fbf1 100644 --- a/src/modules/commander/Commander.cpp +++ b/src/modules/commander/Commander.cpp @@ -1427,6 +1427,8 @@ Commander::handle_command(const vehicle_command_s &cmd) case vehicle_command_s::VEHICLE_CMD_DO_SET_ROI_NONE: case vehicle_command_s::VEHICLE_CMD_INJECT_FAILURE: case vehicle_command_s::VEHICLE_CMD_SET_GPS_GLOBAL_ORIGIN: + case vehicle_command_s::VEHICLE_CMD_DO_GIMBAL_MANAGER_PITCHYAW: + case vehicle_command_s::VEHICLE_CMD_DO_GIMBAL_MANAGER_CONFIGURE: /* ignore commands that are handled by other parts of the system */ break;