Rename distance_sensor.covariance to variance

This commit is contained in:
Oleg Kalachev
2019-02-22 18:31:27 +00:00
committed by Nuno Marques
parent 8ba7569852
commit fbc8d01a7e
22 changed files with 25 additions and 25 deletions
@@ -540,7 +540,7 @@ int LidarLiteI2C::collect()
report.current_distance = distance_m;
report.min_distance = get_minimum_distance();
report.max_distance = get_maximum_distance();
report.covariance = 0.0f;
report.variance = 0.0f;
report.signal_quality = signal_quality;
report.type =
distance_sensor_s::MAV_DISTANCE_SENSOR_LASER; // the sensor is in fact a laser + sonar but there is no enum for this