Plane: fix stabilize mode

should self-level. Broken by #19171
This commit is contained in:
Andrew Tridgell 2022-01-03 06:59:18 +11:00
parent e610acf998
commit 2251293ec7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}