Browse Source

Plane: fix stabilize mode

should self-level. Broken by #19171
gps-1.3.1
Andrew Tridgell 3 years ago
parent
commit
2251293ec7
  1. 4
      ArduPlane/mode_stabilize.cpp

4
ArduPlane/mode_stabilize.cpp

@ -3,7 +3,7 @@
void ModeStabilize::update() void ModeStabilize::update()
{ {
plane.nav_roll_cd = plane.ahrs.roll_sensor; plane.nav_roll_cd = 0;
plane.nav_pitch_cd = plane.ahrs.pitch_sensor; plane.nav_pitch_cd = 0;
} }

Loading…
Cancel
Save