mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
TECS: support for units on fields
This commit is contained in:
parent
6ed0d645a3
commit
22f1b5ed6f
@ -1076,7 +1076,12 @@ void AP_TECS::update_pitch_throttle(int32_t hgt_dem_cm,
|
|||||||
_update_pitch();
|
_update_pitch();
|
||||||
|
|
||||||
// log to DataFlash
|
// log to DataFlash
|
||||||
DataFlash_Class::instance()->Log_Write("TECS", "TimeUS,h,dh,hdem,dhdem,spdem,sp,dsp,ith,iph,th,ph,dspdem,w,f", "QfffffffffffffB",
|
DataFlash_Class::instance()->Log_Write(
|
||||||
|
"TECS",
|
||||||
|
"TimeUS,h,dh,hdem,dhdem,spdem,sp,dsp,ith,iph,th,ph,dspdem,w,f",
|
||||||
|
"smnmnnnn----o--",
|
||||||
|
"F0000000----0--",
|
||||||
|
"QfffffffffffffB",
|
||||||
now,
|
now,
|
||||||
(double)_height,
|
(double)_height,
|
||||||
(double)_climb_rate,
|
(double)_climb_rate,
|
||||||
|
Loading…
Reference in New Issue
Block a user