Navigator: Provide better feedback if no mission present, enforce minimum altitude in loiter and in auto modes

This commit is contained in:
Lorenz Meier
2015-06-12 15:57:27 +02:00
parent 6c0539c243
commit 05993bee6f
5 changed files with 37 additions and 13 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ protected:
/**
* Set a loiter mission item, if possible reuse the position setpoint, otherwise take the current position
*/
void set_loiter_item(struct mission_item_s *item);
void set_loiter_item(struct mission_item_s *item, float min_clearance = -1.0f);
mission_item_s _mission_item;
bool _waypoint_position_reached;