mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-09 00:10:36 +08:00
distance sensors: Improve variable naming / description
This commit is contained in:
committed by
Paul Riseborough
parent
35bde5c9fc
commit
da2fbf60b5
@@ -595,7 +595,7 @@ PX4FLOW::collect()
|
||||
distance_report.max_distance = PX4FLOW_MAX_DISTANCE;
|
||||
distance_report.current_distance = report.ground_distance_m;
|
||||
distance_report.covariance = 0.0f;
|
||||
distance_report.signal_strength = -1;
|
||||
distance_report.signal_quality = -1;
|
||||
distance_report.type = distance_sensor_s::MAV_DISTANCE_SENSOR_ULTRASOUND;
|
||||
/* TODO: the ID needs to be properly set */
|
||||
distance_report.id = 0;
|
||||
|
||||
Reference in New Issue
Block a user