From a4da667e2b99477a6655238e83647c8737cae1e4 Mon Sep 17 00:00:00 2001 From: Randy Mackay <rmackay9@yahoo.com> Date: Thu, 23 Oct 2014 20:56:30 +0900 Subject: [PATCH] Mount: remove CMD_DO_MOUNT_CONFIGURE support --- libraries/AP_Mount/AP_Mount.cpp | 12 ------------ libraries/AP_Mount/AP_Mount.h | 2 -- 2 files changed, 14 deletions(-) diff --git a/libraries/AP_Mount/AP_Mount.cpp b/libraries/AP_Mount/AP_Mount.cpp index 73a530477..67fd26da3 100644 --- a/libraries/AP_Mount/AP_Mount.cpp +++ b/libraries/AP_Mount/AP_Mount.cpp @@ -546,18 +546,6 @@ void AP_Mount::set_roi_cmd(const struct Location *target_loc) #endif } -/// Set mount configuration, triggered by mission script commands -void AP_Mount::configure_cmd() -{ - // TODO get the information out of the mission command and use it -} - -/// Control the mount (depends on the previously set mount configuration), triggered by mission script commands -void AP_Mount::control_cmd() -{ - // TODO get the information out of the mission command and use it -} - /// returns the angle (degrees*100) that the RC_Channel input is receiving int32_t AP_Mount::angle_input(RC_Channel* rc, int16_t angle_min, int16_t angle_max) diff --git a/libraries/AP_Mount/AP_Mount.h b/libraries/AP_Mount/AP_Mount.h index 7d7829b20..286856092 100644 --- a/libraries/AP_Mount/AP_Mount.h +++ b/libraries/AP_Mount/AP_Mount.h @@ -54,8 +54,6 @@ public: void control_msg(mavlink_message_t* msg); void status_msg(mavlink_message_t* msg, mavlink_channel_t chan); void set_roi_cmd(const struct Location *target_loc); - void configure_cmd(); - void control_cmd(); // should be called periodically void update_mount_position(); -- GitLab