From 2251293ec716979fc522d10982b141c5ab47bac9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 Jan 2022 06:59:18 +1100 Subject: [PATCH] Plane: fix stabilize mode should self-level. Broken by #19171 --- ArduPlane/mode_stabilize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduPlane/mode_stabilize.cpp b/ArduPlane/mode_stabilize.cpp index 1004c60c28..7414d57506 100644 --- a/ArduPlane/mode_stabilize.cpp +++ b/ArduPlane/mode_stabilize.cpp @@ -3,7 +3,7 @@ void ModeStabilize::update() { - plane.nav_roll_cd = plane.ahrs.roll_sensor; - plane.nav_pitch_cd = plane.ahrs.pitch_sensor; + plane.nav_roll_cd = 0; + plane.nav_pitch_cd = 0; }