fix(mavlink): follow backward compatibility guidelines (#28740)

* fix(ekf2): tag EKF2_MAG_TYPE STATUSTEXT for event dedup

Missing trailing tab meant a modern GCS wouldn't suppress this legacy
STATUSTEXT in favor of the paired event, showing the message twice.

Signed-off-by: Balduin <balduin@auterion.com>

* fix(navigator): tag in-air landing STATUSTEXT for event dedup

Missing trailing tab meant a modern GCS wouldn't suppress this legacy
STATUSTEXT in favor of the paired feasibility_mis_in_air_landing_req
event, showing the message twice.

Signed-off-by: Balduin <balduin@auterion.com>

* fix(mavlink): stop dropping the CAN/camera ID collision warning

This STATUSTEXT was tagged for event-dedup suppression but has no
paired event, so a modern GCS silently discarded it instead of
showing it.

Signed-off-by: Balduin <balduin@auterion.com>

---------

Signed-off-by: Balduin <balduin@auterion.com>
This commit is contained in:
Balduin authored and GitHub committed 2026-09-21 16:37:56 -06:00
1 parent 29ac50fd63
commit 1fe68ea764
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -901,7 +901,7 @@ void EKF2::VerifyParams()
&& (_param_ekf2_mag_type.get() != MagFuseType::INIT)
) {
mavlink_log_critical(&_mavlink_log_pub, "EKF2_MAG_TYPE invalid, resetting to default");
mavlink_log_critical(&_mavlink_log_pub, "EKF2_MAG_TYPE invalid, resetting to default\t");
/* EVENT
* @description <param>EKF2_MAG_TYPE</param> is set to {1:.0}.
*/
+1 -1
View File
@@ -99,7 +99,7 @@ MavlinkParametersManager::update_observed_camera_components()
if (is_dronecan_node_online(comp_id)) {
_camera_cannode_collision_warned_mask |= warn_bit;
mavlink_log_warning(_mavlink.get_mavlink_log_pub(),
"CAN node %u blocked by MAV camera (reassign ID)\t",
"CAN node %u blocked by MAV camera (reassign ID)",
comp_id);
}
}
@@ -584,7 +584,7 @@ bool FeasibilityChecker::checkTakeoffLandAvailable()
result = _landing_valid;
if (!result) {
mavlink_log_critical(_mavlink_log_pub, "Mission rejected: Landing waypoint/pattern required.");
mavlink_log_critical(_mavlink_log_pub, "Mission rejected: Landing waypoint/pattern required.\t");
events::send(events::ID("feasibility_mis_in_air_landing_req"), {events::Log::Error, events::LogInternal::Info},
"Mission rejected: Landing waypoint/pattern required");
}