From 62758afbd9f9cd6f42923e4e82a97c6ec0a24a06 Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Mon, 16 Sep 2024 17:44:12 +0930 Subject: [PATCH] Copter: remove unused get_vel_desired_cms --- ArduCopter/mode.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ArduCopter/mode.h b/ArduCopter/mode.h index 04777e1cfd6f5d..b9ad4c752263f0 100644 --- a/ArduCopter/mode.h +++ b/ArduCopter/mode.h @@ -170,12 +170,6 @@ class Mode { // altitude fence float get_avoidance_adjusted_climbrate(float target_rate); - const Vector3f& get_vel_desired_cms() { - // note that position control isn't used in every mode, so - // this may return bogus data: - return pos_control->get_vel_desired_cms(); - } - // send output to the motors, can be overridden by subclasses virtual void output_to_motors();