Navigator: remove deprecated _can_loiter_at_sp and _need_takeoff

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-09-19 10:04:30 +02:00
parent bb212ea6ec
commit 48acf98fd5
8 changed files with 0 additions and 90 deletions
-7
View File
@@ -181,12 +181,5 @@ Takeoff::set_takeoff_position()
memset(rep, 0, sizeof(*rep));
}
if (PX4_ISFINITE(pos_sp_triplet->current.lat) && PX4_ISFINITE(pos_sp_triplet->current.lon)) {
_navigator->set_can_loiter_at_sp(true);
} else {
_navigator->set_can_loiter_at_sp(false);
}
_navigator->set_position_setpoint_triplet_updated();
}