From 3bae99267bb709b98afa690026533cf55e2a36e0 Mon Sep 17 00:00:00 2001 From: akkawimo <50725049+akkawimo@users.noreply.github.com> Date: Mon, 13 Mar 2023 03:39:31 -0400 Subject: [PATCH] fix(precland): Improved log messages (#21289) --- .../landing_target_estimator/LandingTargetEstimator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/landing_target_estimator/LandingTargetEstimator.cpp b/src/modules/landing_target_estimator/LandingTargetEstimator.cpp index 7fd5f15cfb..3783c3d852 100644 --- a/src/modules/landing_target_estimator/LandingTargetEstimator.cpp +++ b/src/modules/landing_target_estimator/LandingTargetEstimator.cpp @@ -75,7 +75,7 @@ void LandingTargetEstimator::update() /* predict */ if (_estimator_initialized) { if (hrt_absolute_time() - _last_update > landing_target_estimator_TIMEOUT_US) { - PX4_WARN("Timeout"); + PX4_INFO("Lost sight of Marker"); _estimator_initialized = false; } else { @@ -129,7 +129,7 @@ void LandingTargetEstimator::update() if (!update_x || !update_y) { if (!_faulty) { _faulty = true; - PX4_WARN("Landing target measurement rejected:%s%s", update_x ? "" : " x", update_y ? "" : " y"); + PX4_INFO("Landing target measurement rejected:%s%s", update_x ? "" : " x", update_y ? "" : " y"); } } else { @@ -264,7 +264,7 @@ void LandingTargetEstimator::_update_topics() } if (!matrix::Vector3f(_uwbDistance.position).isAllFinite()) { - PX4_WARN("Position is corrupt!"); + PX4_WARN("Marker position reading invalid!"); return; }