aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/utility/LinearApproximation.h
Commit message (Collapse)AuthorAgeFilesLines
* linearapproximation: Move to src/utilityFinlay Davidson2023-03-271-42/+0
|
* clang-format: Always break template declarationsRiku Isokoski2023-02-161-1/+2
| | | | | I find this format easier to read, because the definitions are at the expected indentation, making it easier to find what I'm looking for.
* Add linear approximation and use it for improving battery percentageAlex Dolzhenkov2022-11-191-0/+41
Add linear approximation class and use it to better model the non-linear discharge curve of the battery. Changed the minimum voltage level to 3.5V and the maximum to 4.18V. For reference the maximum observed voltage is 4.21V during charging.