Browse Source

Plane: AC_AutoTune writes events itself now

c415-sdk
Peter Barker 5 years ago committed by Randy Mackay
parent
commit
614bb656b7
  1. 15
      ArduPlane/qautotune.cpp
  2. 1
      ArduPlane/qautotune.h

15
ArduPlane/qautotune.cpp

@ -46,21 +46,6 @@ void QAutoTune::init_z_limits() @@ -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)
{

1
ArduPlane/qautotune.h

@ -23,7 +23,6 @@ protected: @@ -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;
};

Loading…
Cancel
Save