Skip to content

Commit

Permalink
Commander: Change user facing messages to "Remote ID" instead of "Ope…
Browse files Browse the repository at this point in the history
…nDroneID"

Apprently users reference the system like that and OpenDroneID
might already be too technical, less understandable to some.
  • Loading branch information
MaEtUgR committed Nov 21, 2024
1 parent db13b9c commit 044d136
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/modules/commander/Commander.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2799,8 +2799,8 @@ void Commander::dataLinkCheck()
_open_drone_id_system_lost = false;

if (_datalink_last_heartbeat_open_drone_id_system != 0) {
mavlink_log_info(&_mavlink_log_pub, "OpenDroneID system regained\t");
events::send(events::ID("commander_open_drone_id_regained"), events::Log::Info, "OpenDroneID system regained");
mavlink_log_info(&_mavlink_log_pub, "Remote ID system regained\t");
events::send(events::ID("commander_open_drone_id_regained"), events::Log::Info, "Remote ID system regained");
}
}

Expand Down Expand Up @@ -2861,11 +2861,11 @@ void Commander::dataLinkCheck()
_status_changed = true;
}

// OpenDroneID system
// Remote ID system
if ((hrt_elapsed_time(&_datalink_last_heartbeat_open_drone_id_system) > 3_s)
&& !_open_drone_id_system_lost) {
mavlink_log_critical(&_mavlink_log_pub, "OpenDroneID system lost");
events::send(events::ID("commander_open_drone_id_lost"), events::Log::Critical, "OpenDroneID system lost");
mavlink_log_critical(&_mavlink_log_pub, "Remote ID system lost");
events::send(events::ID("commander_remote_id_lost"), events::Log::Critical, "Remote ID system lost");
_vehicle_status.open_drone_id_system_present = false;
_vehicle_status.open_drone_id_system_healthy = false;
_open_drone_id_system_lost = true;
Expand Down

0 comments on commit 044d136

Please sign in to comment.