From 8596f491c6fcd5a9495d4d413a2b8ef594af2d6b Mon Sep 17 00:00:00 2001 From: JaeyoungLim Date: Mon, 24 Nov 2025 05:53:41 -0800 Subject: [PATCH] Fix logging and comment out printouts --- src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp | 6 +++--- src/modules/simulation/gz_bridge/GZBridge.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp b/src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp index 2c325370c2..63a80e1326 100644 --- a/src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp +++ b/src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp @@ -226,9 +226,9 @@ void FixedwingWindEstimator::Run() airflow_msg.windspeed_east = wind(1); airflow_msg.windspeed_down = wind(2); _airflow_pub.publish(airflow_msg); - PX4_INFO("airspeed estimate: \t%.1f, \t%.1f, \t%.1f", (double)air_velocity_body(0), (double)air_velocity_body(1), - (double)air_velocity_body(2)); - PX4_INFO(" - wind estimate: \t%.1f, \t%.1f, \t%.1f", (double)wind(0), (double)wind(1), (double)wind(2)); + // PX4_INFO("airspeed estimate: \t%.1f, \t%.1f, \t%.1f", (double)air_velocity_body(0), (double)air_velocity_body(1), + // (double)air_velocity_body(2)); + // PX4_INFO(" - wind estimate: \t%.1f, \t%.1f, \t%.1f", (double)wind(0), (double)wind(1), (double)wind(2)); } /* if we are in rotary wing mode, do nothing */ diff --git a/src/modules/simulation/gz_bridge/GZBridge.hpp b/src/modules/simulation/gz_bridge/GZBridge.hpp index 5bec3880a4..a513f9f820 100644 --- a/src/modules/simulation/gz_bridge/GZBridge.hpp +++ b/src/modules/simulation/gz_bridge/GZBridge.hpp @@ -145,7 +145,7 @@ private: uORB::Publication _distance_sensor_pub{ORB_ID(distance_sensor)}; uORB::Publication _differential_pressure_pub{ORB_ID(differential_pressure)}; uORB::Publication _obstacle_distance_pub{ORB_ID(obstacle_distance)}; - uORB::Publication _airflow_groundtruth_pub{ORB_ID(airflow)}; + uORB::Publication _airflow_groundtruth_pub{ORB_ID(airflow_groundtruth)}; uORB::Publication _angular_velocity_ground_truth_pub{ORB_ID(vehicle_angular_velocity_groundtruth)}; uORB::Publication _attitude_ground_truth_pub{ORB_ID(vehicle_attitude_groundtruth)}; uORB::Publication _gpos_ground_truth_pub{ORB_ID(vehicle_global_position_groundtruth)};