Closed nkwacker closed 6 years ago
This phenomenon seems to happen to all uint16 values
This issue is that the unsigned int does not handle negative current
Reopened because the issue is still happening, specifically on dist board for all currents, COM1 voltage average, and Estim voltage average. It is also interesting to note that these averages do not fall between their respective mins and maxes, which are still quite reasonable
Bdot also seems to have the same problem for its magnetometer aggregates
For Bdot this behavior makes a lot of sense, as it only was happening during SPAM. Likely something similar is going on on dist
This issue is also happening with all averages on batt
And Gen as well. I suspect that the issue is in aggLib
Pretty self-explanatory. The mins and maxes seem to be reasonable, but the average does not fall between them.