AP_TECS: Log TEC2.LF as Aerodynamic Load Factor

This commit is contained in:
Tom Pittenger 2016-05-17 20:10:06 -07:00
parent 36a1054f77
commit 3c6323dd82
1 changed files with 3 additions and 2 deletions

View File

@ -1045,9 +1045,10 @@ void AP_TECS::update_pitch_throttle(int32_t hgt_dem_cm,
(double)_TAS_rate_dem, (double)_TAS_rate_dem,
(double)logging.SKE_weighting, (double)logging.SKE_weighting,
_flags_byte); _flags_byte);
DataFlash_Class::instance()->Log_Write("TEC2", "TimeUS,KErr,PErr,EDelta", "Qfff", DataFlash_Class::instance()->Log_Write("TEC2", "TimeUS,KErr,PErr,EDelta,LF", "Qffff",
now, now,
(double)logging.SKE_error, (double)logging.SKE_error,
(double)logging.SPE_error, (double)logging.SPE_error,
(double)logging.SEB_delta); (double)logging.SEB_delta,
(double)load_factor);
} }