From c66aedf9d5ba0e950181c41b68de899afc7f33a2 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 a690f229448118..b3b63ca9c9bf33 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 @@ -165,7 +164,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