distance sensors: Improve variable naming / description

This commit is contained in:
Philipp Oettershagen
2018-07-12 21:50:47 +02:00
committed by Paul Riseborough
parent 35bde5c9fc
commit da2fbf60b5
16 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -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;