Random style fixes in the code

This commit is contained in:
bresch
2020-06-03 11:25:03 +02:00
committed by Mathieu Bresciani
parent 5d6a72e383
commit aa96fa6d9e
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -367,6 +367,7 @@ void EstimatorInterface::setOpticalFlowData(const flowSample& flow)
// when there are other aiding sources available
const float flow_rate_magnitude = flow.flow_xy_rad.norm() / delta_time;
flow_magnitude_good = (flow_rate_magnitude <= _flow_max_rate);
} else {
// protect against overflow caused by division with very small delta_time
delta_time = delta_time_min;