webaccess007 / aeroquad

Automatically exported from code.google.com/p/aeroquad
0 stars 0 forks source link

New BatteryMonitor class is buggy #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
batteryVoltage is not initialized
batteryScaleFactor in BatteryMonitor_APM has a +diode in the assignment in line 
132, which should be wrong
Some variables to calculate the batteryScaleFactor are made private, which can 
be local.
As I do not have the hardware, this fix is untested.

Original issue reported on code.google.com by al...@arcor.de on 8 Jan 2011 at 9:25

Attachments:

GoogleCodeExporter commented 9 years ago
Copied your version to working version and will flight test tonight. THANKS!

Original comment by CaranchoEngineering@gmail.com on 9 Jan 2011 at 7:52