Incorrect battery0 voltage on QGC
-
Hi,
I'm seeing incorrect battery0 voltage on QGC. Would appreciate your help in resolving this issue.
I'm using the 2S Amprius battery packs on my Starling 2 and the battery parameters are attached below.
Thanks!
-
@george-kollamkulam , something seems fishy here.
The Starling 2 drone has the VOXL Mini ESC, which acts as the APM (measures voltage and total current). The ESC sends this data to PX4 via UART together with regular ESC telelmetry.
The Battery status packet is an uint16 with 0.001V resolution, so the maximum voltage it could report would be about 65V (2^16 millivolts).
packet definition:
https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/qc_esc_packet.h#L157packet parsing:
https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L577I suspect something else is going on. Maybe you need to choose a different Source for the battery monitoring (not Power Module)?
Is this voltage 267.55V updating or just stuck at that value?
Alex