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.
25 lines
488 B
25 lines
488 B
#include "Copter.h" |
|
|
|
#if MODE_GUIDED_NOGPS_ENABLED == 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
|
|
|