fw_mode_manager: fixed altitude hold for auto fixed-bank loiter (#25456)

This commit is contained in:
Alvaro Fernandez 2025-08-19 17:05:13 +02:00 committed by GitHub
parent 6934bc908e
commit 333b77cb38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -630,8 +630,8 @@ FixedWingModeManager::control_auto_fixed_bank_alt_hold()
const hrt_abstime now = hrt_absolute_time();
const fixed_wing_longitudinal_setpoint_s fw_longitudinal_control_sp = {
.timestamp = now,
.altitude = _current_altitude,
.height_rate = NAN,
.altitude = NAN,
.height_rate = 0.f,
.equivalent_airspeed = NAN,
.pitch_direct = NAN,
.throttle_direct = NAN