Plane: AC_AutoTune writes events itself now

This commit is contained in:
Peter Barker 2019-10-31 15:08:07 +11:00 committed by Randy Mackay
parent 5ece75a09a
commit 614bb656b7
2 changed files with 0 additions and 16 deletions

View File

@ -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)
{

View File

@ -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;
};