Fix for Current Calculation in PWR Ctrl #880
@ -16,6 +16,10 @@ will consitute of a breaking change warranting a new major release:
|
|||||||
|
|
||||||
# [unreleased]
|
# [unreleased]
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Fixed wrong sign in calculation of total current within the `PWR Controller`.
|
||||||
|
|
||||||
# [v7.7.3] 2024-03-18
|
# [v7.7.3] 2024-03-18
|
||||||
|
|
||||||
- Bumped `eive-fsfw`
|
- Bumped `eive-fsfw`
|
||||||
|
@ -182,7 +182,7 @@ void PowerController::calculateStateOfCharge() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// calculate total battery current
|
// calculate total battery current
|
||||||
iBat = p60CoreHk.batteryCurrent.value + bpxBatteryHk.dischargeCurrent.value;
|
iBat = p60CoreHk.batteryCurrent.value - bpxBatteryHk.dischargeCurrent.value;
|
||||||
|
|
||||||
result = calculateOpenCircuitVoltageCharge();
|
result = calculateOpenCircuitVoltageCharge();
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user