mirror of https://github.com/ArduPilot/ardupilot
Plane: AC_AutoTune writes events itself now
This commit is contained in:
parent
5ece75a09a
commit
614bb656b7
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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…
Reference in New Issue