Replaced wigen with custom matrix lib.

This commit is contained in:
jgoppert
2015-10-24 15:06:59 -04:00
parent 0106be3e89
commit 6cce823dc6
8 changed files with 26 additions and 31 deletions

View File

@@ -387,7 +387,7 @@ float battery_remaining_estimate_voltage(float voltage, float discharged, float
// XXX this time constant needs to become tunable
// but really, the right fix are smart batteries.
float val = throttle_lowpassed * 0.97f + throttle_normalized * 0.03f;
if (isfinite(val)) {
if (PX4_ISFINITE(val)) {
throttle_lowpassed = val;
}