Battery current reading implemented.
Workaround to compile on FMUv1.
sensors: fixed bug discharged battery current
sdlog2: log all low-level battery parameters in BATT message
Use discharged current to estimate remaining battery charge if capacity is known
Fix mavlink battery remaining scale
sdlog2: BATT message format fixed
sdlog2: BATT message bug fixed
mavlink battery current scale fix
sensors: minor cleanup, bugs fixed, use unsigned long for discharged integration to avoid rounding errors.
Track raw battery voltage and filtered battery voltage separately. Estimate remaining battery as min(voltage_estimate, discharged_estimate). Battery voltage LPF time increased.
Merge branch 'master' into batt_fixes
sensors: discharged current type changed to uint64
Merged origin/master into batt_fixes
Added support for byte MTD
Added MTD adapter driver
HIL cleanup
RGB led cleanup
Added mtd tool
Added missing file close on test command