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
<mailto:address@hidden>
T: (435)797-3315
------------------------------------------------------------------------
_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel