forked from Archive/PX4-Autopilot
log tecs trim throttle
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
parent
92cdff6798
commit
c2f5ffdfcd
|
@ -40,5 +40,6 @@ float32 pitch_integ
|
||||||
|
|
||||||
float32 throttle_sp
|
float32 throttle_sp
|
||||||
float32 pitch_sp_rad
|
float32 pitch_sp_rad
|
||||||
|
float32 throttle_trim # estimated throttle value [0,1] required to fly level at equivalent_airspeed_sp in the current atmospheric conditions
|
||||||
|
|
||||||
uint8 mode
|
uint8 mode
|
||||||
|
|
|
@ -537,6 +537,7 @@ FixedwingPositionControl::tecs_status_publish()
|
||||||
|
|
||||||
t.throttle_sp = _tecs.get_throttle_setpoint();
|
t.throttle_sp = _tecs.get_throttle_setpoint();
|
||||||
t.pitch_sp_rad = _tecs.get_pitch_setpoint();
|
t.pitch_sp_rad = _tecs.get_pitch_setpoint();
|
||||||
|
t.throttle_trim = _tecs.get_throttle_trim();
|
||||||
|
|
||||||
t.timestamp = hrt_absolute_time();
|
t.timestamp = hrt_absolute_time();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue