Remove LNDMC_ALT_MAX

This should be replaced with the maximum geofence
altitude GF_MAX_VER_DIST. I'm not aware anyone is using
this functionality as is.
This commit is contained in:
Matthias Grob
2023-11-20 14:52:35 +01:00
parent fd4d635035
commit 9bed8f48c7
16 changed files with 0 additions and 97 deletions
-3
View File
@@ -85,8 +85,6 @@ Takeoff::on_active()
}
}
mission_apply_limitation(_mission_item);
mission_item_to_position_setpoint(_mission_item, &pos_sp_triplet->current);
_navigator->set_position_setpoint_triplet_updated();
@@ -129,7 +127,6 @@ Takeoff::set_takeoff_position()
// convert mission item to current setpoint
struct position_setpoint_triplet_s *pos_sp_triplet = _navigator->get_position_setpoint_triplet();
mission_apply_limitation(_mission_item);
mission_item_to_position_setpoint(_mission_item, &pos_sp_triplet->current);
pos_sp_triplet->previous.valid = false;