mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-05 13:14:03 -04:00
Plane: mode_qacro: combine enter and init
This commit is contained in:
parent
529a3a9122
commit
64aba43b56
@ -2,18 +2,11 @@
|
||||
#include "Plane.h"
|
||||
|
||||
bool ModeQAcro::_enter()
|
||||
{
|
||||
return plane.mode_qstabilize._enter();
|
||||
}
|
||||
|
||||
/*
|
||||
init QACRO mode
|
||||
*/
|
||||
void ModeQAcro::init()
|
||||
{
|
||||
quadplane.throttle_wait = false;
|
||||
quadplane.transition_state = QuadPlane::TRANSITION_DONE;
|
||||
attitude_control->relax_attitude_controllers();
|
||||
return true;
|
||||
}
|
||||
|
||||
void ModeQAcro::update()
|
||||
|
Loading…
Reference in New Issue
Block a user