TCS Observability #733

Merged
muellerr merged 19 commits from tcs-observability into main 2023-07-11 16:48:00 +02:00
34 changed files with 487 additions and 521 deletions
Showing only changes of commit f1ca4b174f - Show all commits

View File

@@ -215,6 +215,7 @@ void ThermalController::performControlOperation() {
} }
heaterTransitionControl(heaterSwitchStateArray); heaterTransitionControl(heaterSwitchStateArray);
heaterMaxDurationControl(heaterSwitchStateArray); heaterMaxDurationControl(heaterSwitchStateArray);
// This dataset makes the TCS CTRL observable.
PoolReadGuard pg(&tcsCtrlInfo); PoolReadGuard pg(&tcsCtrlInfo);
for (uint8_t i = 0; i < thermalStates.size(); i++) { for (uint8_t i = 0; i < thermalStates.size(); i++) {
tcsCtrlInfo.heatingOnVec[i] = thermalStates[i].heating; tcsCtrlInfo.heatingOnVec[i] = thermalStates[i].heating;