From e3d00f20a62d028ef31a9600cc5d0983649132bd Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 1 Feb 2024 12:56:52 +1100 Subject: [PATCH] Blimp: provide and use base-method implementation for guided mode request --- Blimp/GCS_Mavlink.cpp | 9 --------- Blimp/GCS_Mavlink.h | 1 - 2 files changed, 10 deletions(-) diff --git a/Blimp/GCS_Mavlink.cpp b/Blimp/GCS_Mavlink.cpp index 2c0e92fa26..17193438c1 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -407,15 +407,6 @@ const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] = { MAV_STREAM_TERMINATOR // must have this at end of stream_entries }; -bool GCS_MAVLINK_Blimp::handle_guided_request(AP_Mission::Mission_Command &cmd) -{ - // #if MODE_AUTO_ENABLED == ENABLED - // // return blimp.mode_auto.do_guided(cmd); - // #else - return false; - // #endif -} - void GCS_MAVLINK_Blimp::packetReceived(const mavlink_status_t &status, const mavlink_message_t &msg) { diff --git a/Blimp/GCS_Mavlink.h b/Blimp/GCS_Mavlink.h index 87dad1ceb0..71f10a414e 100644 --- a/Blimp/GCS_Mavlink.h +++ b/Blimp/GCS_Mavlink.h @@ -53,7 +53,6 @@ protected: private: void handle_message(const mavlink_message_t &msg) override; - bool handle_guided_request(AP_Mission::Mission_Command &cmd) override; bool try_send_message(enum ap_message id) override; void packetReceived(const mavlink_status_t &status,