5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-06 16:08:28 -04:00
ardupilot/ArduPlane/mode_stabilize.cpp
2019-04-02 16:28:52 +11:00

19 lines
300 B
C++

#include "mode.h"
#include "Plane.h"
bool ModeStabilize::_enter()
{
plane.throttle_allows_nudging = false;
plane.auto_throttle_mode = false;
plane.auto_navigation_mode = false;
return true;
}
void ModeStabilize::update()
{
plane.nav_roll_cd = 0;
plane.nav_pitch_cd = 0;
}