Gyro cal: be more forgiving in calibration offset

This commit is contained in:
Lorenz Meier
2015-11-19 15:54:57 +01:00
parent 8b70bd2487
commit c77c0f927b
+1 -1
View File
@@ -238,7 +238,7 @@ int do_gyro_calibration(int mavlink_fd)
float zdiff = worker_data.gyro_report_0.z - worker_data.gyro_scale[0].z_offset;
/* maximum allowable calibration error in radians */
const float maxoff = 0.0055f;
const float maxoff = 0.01f;
if (!PX4_ISFINITE(worker_data.gyro_scale[0].x_offset) ||
!PX4_ISFINITE(worker_data.gyro_scale[0].y_offset) ||