[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] voltage indication bug in GCS ?
From: |
Felix Ruess |
Subject: |
Re: [Paparazzi-devel] voltage indication bug in GCS ? |
Date: |
Sat, 6 Oct 2012 13:39:12 +0200 |
Hi Chris,
unfortunately this is currently a stupid limitation of the BAT message, where the voltage is encoded in decivolts in a uint8.
That means the max voltage you can send via this message is 25.5 volts, after that it just wraps around.
This is already fixed in the new messages, but this is not quite ready and merged yet :-(
Maybe we should just change the message to a uint16 in the meantime.... Gautier?
Cheers, Felix
On Sat, Oct 6, 2012 at 11:40 AM, Chris
<address@hidden> wrote:
Hi.
I recall that this has come up in the past but it looks like it likes our company.
In simulation the GCS voltage indication displays 7.3v but the battery voltage is set to 33.6v
inside the airframe.
Relevant airframe configuration follows:
IN "BAT" SECTION:
<define name="CATASTROPHIC_BAT_LEVEL" value="24" unit="V"/>
<define name="CRITIC_BAT_LEVEL" value="27" unit="V"/>
<define name="LOW_BAT_LEVEL" value="28" unit="V"/>
<define name="MAX_BAT_LEVEL" value="33.6" unit="V"/>
IN "V_CTL" SECTION:
<define name="POWER_CTL_BAT_NOMINAL" value="29.6" unit="volt"/>
Chris
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel