paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] Voltage bias in battery level


From: Austin Jensen
Subject: [Paparazzi-devel] Voltage bias in battery level
Date: Wed, 7 Apr 2010 14:09:08 -0600

All,

I just recently noticed that the battery levels read from the Paparazzi board are changing from board to board (TWOG) on the exact same aircraft with the same fully charged batteries. Is there a variable I can add to the airframe file to compensate for this? I have looked myself without any luck. If not, would a good place to put one be in the main_fbw.c file line  203?

#ifdef ADC
  if (!_10Hz)
    fbw_vsupply_decivolt = VoltageOfAdc((10*(vsupply_adc_buf.sum/vsupply_adc_buf.av_nb_sample)));
#endif

Thanks,
Austin
------------------------------------------------------------------
Austin Jensen, Research Engineer
Utah Water Research Laboratory (UWRL)
Utah State University, 8200 Old Main Hill
Logan, UT, 84322-8200, USA
E: address@hidden
T: (435)797-3315

reply via email to

[Prev in Thread] Current Thread [Next in Thread]