Added trap to filter to catch NaN handling

This commit is contained in:
Lorenz Meier
2014-04-22 02:25:38 +02:00
parent 39a0d4e54d
commit 125f0b2f88
@@ -858,6 +858,11 @@ FixedwingEstimator::task_main()
}
}
// XXX trap for testing
if (check == 1 || check == 2) {
errx(1, "NUMERIC ERROR IN FILTER");
}
// If non-zero, we got a filter reset
if (check) {