fixed voltage bugs
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit

This commit is contained in:
2023-09-22 10:08:04 +02:00
parent 654d9b1536
commit 6b9e191988
2 changed files with 5 additions and 2 deletions

View File

@@ -105,6 +105,8 @@ class PowerController : public ExtendedControllerBase, public ReceivesParameterM
float coulombCounterCharge = 0; // [mC]
float coulombCounterChargeUpperThreshold = 0.0; // [mC]
static constexpr float MILLIVOLT2VOLT = 1e-3;
static constexpr int16_t INVALID_TOTAL_BATTERY_CURRENT = 0;
static constexpr float INVALID_SOC = -1;