mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-08 11:58:52 +08:00
Fix logging and comment out printouts
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -145,7 +145,7 @@ private:
|
||||
uORB::Publication<distance_sensor_s> _distance_sensor_pub{ORB_ID(distance_sensor)};
|
||||
uORB::Publication<differential_pressure_s> _differential_pressure_pub{ORB_ID(differential_pressure)};
|
||||
uORB::Publication<obstacle_distance_s> _obstacle_distance_pub{ORB_ID(obstacle_distance)};
|
||||
uORB::Publication<airflow_s> _airflow_groundtruth_pub{ORB_ID(airflow)};
|
||||
uORB::Publication<airflow_s> _airflow_groundtruth_pub{ORB_ID(airflow_groundtruth)};
|
||||
uORB::Publication<vehicle_angular_velocity_s> _angular_velocity_ground_truth_pub{ORB_ID(vehicle_angular_velocity_groundtruth)};
|
||||
uORB::Publication<vehicle_attitude_s> _attitude_ground_truth_pub{ORB_ID(vehicle_attitude_groundtruth)};
|
||||
uORB::Publication<vehicle_global_position_s> _gpos_ground_truth_pub{ORB_ID(vehicle_global_position_groundtruth)};
|
||||
|
||||
Reference in New Issue
Block a user