From 614bb656b7fe818448aafc93a377c23a048639f3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 31 Oct 2019 15:08:07 +1100 Subject: [PATCH] Plane: AC_AutoTune writes events itself now --- ArduPlane/qautotune.cpp | 15 --------------- ArduPlane/qautotune.h | 1 - 2 files changed, 16 deletions(-) diff --git a/ArduPlane/qautotune.cpp b/ArduPlane/qautotune.cpp index cbdb14973c..9ce2b8d42a 100644 --- a/ArduPlane/qautotune.cpp +++ b/ArduPlane/qautotune.cpp @@ -46,21 +46,6 @@ void QAutoTune::init_z_limits() } -// Wrote an event packet -void QAutoTune::Log_Write_Event(enum at_event id) -{ - // offset of 30 aligned with ArduCopter autotune events - uint8_t ev_id = 30 + (uint8_t)id; - AP::logger().Write( - "EVT", - "TimeUS,Id", - "s-", - "F-", - "QB", - AP_HAL::micros64(), - ev_id); -} - // log VTOL PIDs for during twitch void QAutoTune::log_pids(void) { diff --git a/ArduPlane/qautotune.h b/ArduPlane/qautotune.h index 5d6bd92a8a..0dd6b6412d 100644 --- a/ArduPlane/qautotune.h +++ b/ArduPlane/qautotune.h @@ -23,7 +23,6 @@ protected: float get_pilot_desired_climb_rate_cms(void) const override; void get_pilot_desired_rp_yrate_cd(float &roll_cd, float &pitch_cd, float &yaw_rate_cds) override; void init_z_limits() override; - void Log_Write_Event(enum at_event id) override; void log_pids() override; };