You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
470 B
22 lines
470 B
9 years ago
|
#include "Copter.h"
|
||
|
|
||
|
/*
|
||
|
* Init and run calls for guided_nogps flight mode
|
||
|
*/
|
||
|
|
||
|
// initialise guided_nogps controller
|
||
7 years ago
|
bool Copter::ModeGuidedNoGPS::init(bool ignore_checks)
|
||
9 years ago
|
{
|
||
|
// start in angle control mode
|
||
7 years ago
|
Copter::ModeGuided::angle_control_start();
|
||
9 years ago
|
return true;
|
||
|
}
|
||
|
|
||
|
// guided_run - runs the guided controller
|
||
|
// should be called at 100hz or more
|
||
7 years ago
|
void Copter::ModeGuidedNoGPS::run()
|
||
9 years ago
|
{
|
||
|
// run angle controller
|
||
7 years ago
|
Copter::ModeGuided::angle_control_run();
|
||
9 years ago
|
}
|