ardupilot/ArduCopter/mode_guided_nogps.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
477 B
C++
Raw Normal View History

#include "Copter.h"
#if MODE_GUIDED_NOGPS_ENABLED
/*
* Init and run calls for guided_nogps flight mode
*/
// initialise guided_nogps controller
bool ModeGuidedNoGPS::init(bool ignore_checks)
{
// start in angle control mode
ModeGuided::angle_control_start();
return true;
}
// guided_run - runs the guided controller
// should be called at 100hz or more
void ModeGuidedNoGPS::run()
{
// run angle controller
ModeGuided::angle_control_run();
}
#endif