mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
152edf7189
Using a global .dir-locals.el file is a better alternative than reincluding the same emacs header in every file of the project.
23 lines
437 B
C++
23 lines
437 B
C++
#include "Copter.h"
|
|
|
|
/*
|
|
* Init and run calls for guided_nogps flight mode
|
|
*/
|
|
|
|
// initialise guided_nogps controller
|
|
bool Copter::guided_nogps_init(bool ignore_checks)
|
|
{
|
|
// start in angle control mode
|
|
guided_angle_control_start();
|
|
return true;
|
|
}
|
|
|
|
// guided_run - runs the guided controller
|
|
// should be called at 100hz or more
|
|
void Copter::guided_nogps_run()
|
|
{
|
|
// run angle controller
|
|
guided_angle_control_run();
|
|
}
|
|
|