Skip to content
Snippets Groups Projects
Commit 09449019 authored by DanielePettenuzzo's avatar DanielePettenuzzo Committed by Lorenz Meier
Browse files

crazyflie: pmw3901 driver publish gyro equal to NAN for optflow estimator interface

parent 464db325
No related branches found
No related tags found
No related merge requests found
......@@ -589,6 +589,11 @@ PMW3901::collect()
report.sensor_id = 0;
report.quality = 255;
/* No gyro on this board */
report.gyro_x_rate_integral = NAN;
report.gyro_y_rate_integral = NAN;
report.gyro_z_rate_integral = NAN;
_flow_dt_sum_usec = 0;
_flow_sum_x = 0;
_flow_sum_y = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment