mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 07:23:34 +08:00
log tecs trim throttle
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
committed by
Martina Rivizzigno
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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user