From 798add0b5c8f2c7463221fa55e0905ae7e2fa597 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 28 Jan 2014 22:44:53 +0900 Subject: [PATCH] Copter: remove guided from control_auto.pde --- ArduCopter/control_auto.pde | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/ArduCopter/control_auto.pde b/ArduCopter/control_auto.pde index ad5ee5c1b6..ae3f0a3c50 100644 --- a/ArduCopter/control_auto.pde +++ b/ArduCopter/control_auto.pde @@ -1,7 +1,7 @@ /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /* - * control_auto.pde - init and run calls for auto and guided flight modes + * control_auto.pde - init and run calls for auto flight mode * * This file contains the implementation for Land, Waypoint navigation and Takeoff from Auto mode * Command execution code (i.e. command_logic.pde) should: @@ -373,18 +373,3 @@ float get_auto_heading(void) } } -// guided_init - initialise guided controller -static bool guided_init(bool ignore_checks) -{ - if (GPS_ok() || ignore_checks) { - return true; - }else{ - return false; - } -} - -// guided_run - runs the guided controller -// should be called at 100hz or more -static void guided_run() -{ -}