chore(navigator): remove unused gps_position_valid() function

This commit is contained in:
mahima-yoga
2026-05-12 17:39:54 +02:00
parent 00c76cc81d
commit 2c00df9a09
2 changed files with 0 additions and 7 deletions
-2
View File
@@ -117,5 +117,3 @@ Course::update_setpoint_triplet()
_navigator->set_position_setpoint_triplet_updated();
}
-5
View File
@@ -189,11 +189,6 @@ public:
bool home_global_position_valid() { return (_home_pos.valid_alt && _home_pos.valid_hpos); }
/**
* Check if GPS position is valid (has recent 3D fix)
*/
bool gps_position_valid() { return (_gps_pos.fix_type >= 3) && (hrt_elapsed_time(&_gps_pos.timestamp) < 2_s); }
Geofence &get_geofence() { return _geofence; }
float get_default_loiter_rad() { return fabsf(_param_nav_loiter_rad.get()); }