Browse Source

log tecs trim throttle

Signed-off-by: RomanBapst <bapstroman@gmail.com>
main
RomanBapst 3 years ago committed by Martina Rivizzigno
parent
commit
c2f5ffdfcd
  1. 1
      msg/tecs_status.msg
  2. 1
      src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp

1
msg/tecs_status.msg

@ -40,5 +40,6 @@ float32 pitch_integ @@ -40,5 +40,6 @@ float32 pitch_integ
float32 throttle_sp
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

1
src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp

@ -537,6 +537,7 @@ FixedwingPositionControl::tecs_status_publish() @@ -537,6 +537,7 @@ FixedwingPositionControl::tecs_status_publish()
t.throttle_sp = _tecs.get_throttle_setpoint();
t.pitch_sp_rad = _tecs.get_pitch_setpoint();
t.throttle_trim = _tecs.get_throttle_trim();
t.timestamp = hrt_absolute_time();

Loading…
Cancel
Save