Navigator: differentiate between takeoff and reposition commands, perform calculations for repositions only when armed.

This commit is contained in:
Lorenz Meier
2016-05-10 13:58:42 +02:00
parent befab7303f
commit 8960ab3402
6 changed files with 119 additions and 37 deletions
+6
View File
@@ -67,7 +67,13 @@ private:
*/
void reposition();
/**
* Set the position to hold based on the current local position
*/
void set_loiter_position();
control::BlockParamFloat _param_min_alt;
bool _loiter_pos_set;
};
#endif