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

19 lines
308 B
C++

#include "mode.h"
#include "Plane.h"
void ModeStabilize::update()
{
plane.nav_roll_cd = 0;
plane.nav_pitch_cd = 0;
}
void ModeStabilize::run()
{
plane.stabilize_roll();
plane.stabilize_pitch();
stabilize_stick_mixing_direct();
plane.stabilize_yaw();
output_pilot_throttle();
}