mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 07:13:34 +08:00
fw_mode_manager: fixed altitude hold for auto fixed-bank loiter (#25456)
This commit is contained in:
@@ -630,8 +630,8 @@ FixedWingModeManager::control_auto_fixed_bank_alt_hold()
|
|||||||
const hrt_abstime now = hrt_absolute_time();
|
const hrt_abstime now = hrt_absolute_time();
|
||||||
const fixed_wing_longitudinal_setpoint_s fw_longitudinal_control_sp = {
|
const fixed_wing_longitudinal_setpoint_s fw_longitudinal_control_sp = {
|
||||||
.timestamp = now,
|
.timestamp = now,
|
||||||
.altitude = _current_altitude,
|
.altitude = NAN,
|
||||||
.height_rate = NAN,
|
.height_rate = 0.f,
|
||||||
.equivalent_airspeed = NAN,
|
.equivalent_airspeed = NAN,
|
||||||
.pitch_direct = NAN,
|
.pitch_direct = NAN,
|
||||||
.throttle_direct = NAN
|
.throttle_direct = NAN
|
||||||
|
|||||||
Reference in New Issue
Block a user