tecs_status.msg: directly add underspeed ratio to msg instead of boolean

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-11-07 10:46:27 +01:00
committed by Thomas Stastny
parent 8741a9784d
commit a47b684fd7
3 changed files with 3 additions and 3 deletions
@@ -506,7 +506,7 @@ FixedwingPositionControl::tecs_status_publish(float alt_sp, float equivalent_air
tecs_status.throttle_sp = _tecs.get_throttle_setpoint();
tecs_status.pitch_sp_rad = _tecs.get_pitch_setpoint();
tecs_status.throttle_trim = throttle_trim;
tecs_status.underspeed_mode_enabled = _tecs.underspeed_detected();
tecs_status.underspeed_ratio = _tecs.get_underspeed_ratio();
tecs_status.timestamp = hrt_absolute_time();