Closed GoogleCodeExporter closed 8 years ago
The module sensors.pde monitors either battery_voltage3 or battery_voltage4
(depending on the configuration parameter "BATTERY_TYPE"), returning the
appropriate value in variable battery_voltage. If these voltages go below a
trigger value a low battery event is generated.
The mavlink_common.h module, however, always sends the value of
battery_voltage1 in the status message, explaining why the 4.13V was seen on
the HK GCS. Assuming the intended use of the battery monitoring is to monitor
all cells as described in the manual, then "battery_voltage1" should be changed
to "battery_voltage" in mavlink_common.h If there is a desire to limit the
monitoring to only the total voltage, then the battery_voltage1 input could be
used, and the code in sensors.pde modified accordingly.
Might be worthwhile considering changing the definition of BATTERY_TYPE to
reflect the number of cells (e.g. 1-4), so that any of the four inputs could be
monitored rather than just numbers 3 or 4.
Original comment by AndrewJF...@gmail.com
on 23 Mar 2011 at 11:06
Voltage display has been corrected.
Original comment by dewei...@gmail.com
on 30 Apr 2011 at 10:13
hDOP is fixed in library rev r2241. # of Satellites is working as well.
If you continue to have trouble with this use uCenter to verify that your ublox
is configured to send the NAV_SOL message.
Original comment by dewei...@gmail.com
on 11 May 2011 at 2:58
Original issue reported on code.google.com by
jtn...@yahoo.com
on 22 Mar 2011 at 7:57