From dd4d0907ea4617cd492bf5d7c29f04192c3c6440 Mon Sep 17 00:00:00 2001 From: Tim Tuxworth Date: Fri, 23 Aug 2024 11:48:31 -0600 Subject: [PATCH] ArduPlane: Scripted follow in Plane --- ArduPlane/mode.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/ArduPlane/mode.cpp b/ArduPlane/mode.cpp index 7ea896c5e333eb..4871188fb9a54d 100644 --- a/ArduPlane/mode.cpp +++ b/ArduPlane/mode.cpp @@ -59,7 +59,6 @@ bool Mode::enter() plane.guided_state.target_heading_type = GUIDED_HEADING_NONE; plane.guided_state.target_airspeed_cm = -1; // same as above, although an airspeed of -1 is rare on plane. plane.guided_state.target_alt = -1; // same as above, although a target alt of -1 is rare on plane. -//printf("Mode enter: set target alt -1\n"); plane.guided_state.target_alt_time_ms = 0; plane.guided_state.last_target_alt = 0; #endif @@ -162,7 +161,6 @@ bool Mode::is_vtol_man_throttle() const void Mode::update_target_altitude() { Location target_location; -//printf("Mode: update_target_altitude:\n" ); if (plane.landing.is_flaring()) { // during a landing flare, use TECS_LAND_SINK as a target sink // rate, and ignores the target altitude