8 changed files with 53 additions and 1 deletions
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// functions to support precision landing
|
||||
//
|
||||
|
||||
#include "Rover.h" |
||||
|
||||
#if PRECISION_LANDING == ENABLED |
||||
|
||||
void Rover::init_precland() |
||||
{ |
||||
rover.precland.init(400); |
||||
} |
||||
|
||||
void Rover::update_precland() |
||||
{ |
||||
// alt will be unused if we pass false through as the second parameter:
|
||||
return precland.update(0, false); |
||||
} |
||||
#endif |
Loading…
Reference in new issue