geofence_result.msg: rename premove unused field home_required

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-11-16 14:03:14 +01:00
committed by Daniel Agar
parent b178c943a6
commit a41f24a2e2
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -10,5 +10,3 @@ uint8 geofence_violation_reason # one of geofence_violation_reason_t::*
bool primary_geofence_breached # true if the primary geofence is breached
uint8 primary_geofence_action # action to take when the primary geofence is breached
bool home_required # true if the geofence requires a valid home position
+1 -1
View File
@@ -995,7 +995,7 @@ void Navigator::geofence_breach_check(bool &have_geofence_position_data)
_geofence_result.timestamp = hrt_absolute_time();
_geofence_result.primary_geofence_action = _geofence.getGeofenceAction();
_geofence_result.home_required = _geofence.isHomeRequired();
if (gf_violation_type.value) {
/* inform other apps via the mission result */