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.
24 lines
516 B
24 lines
516 B
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- |
|
|
|
#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(); |
|
} |
|
|
|
|