This commit is contained in:
parent
861bee8083
commit
5c97020087
1
.idea/cmake.xml
generated
1
.idea/cmake.xml
generated
@ -10,7 +10,6 @@
|
||||
</envs>
|
||||
</ADDITIONAL_GENERATION_ENVIRONMENT>
|
||||
</configuration>
|
||||
<configuration PROFILE_NAME="Debug" ENABLED="true" CONFIG_NAME="Debug" NO_GENERATOR="true" />
|
||||
</configurations>
|
||||
</component>
|
||||
</project>
|
@ -933,7 +933,6 @@ void ThermalController::copyDevices() {
|
||||
}
|
||||
|
||||
void ThermalController::ctrlAcsBoard() {
|
||||
// TODO: check
|
||||
heater::Switchers switchNr = heater::HEATER_2_ACS_BRD;
|
||||
heater::Switchers redSwitchNr = heater::HEATER_0_OBC_BRD;
|
||||
|
||||
@ -957,7 +956,7 @@ void ThermalController::ctrlAcsBoard() {
|
||||
resetSensorsArray();
|
||||
return;
|
||||
}
|
||||
|
||||
resetSensorsArray();
|
||||
// B side
|
||||
sensors[0].first = deviceTemperatures.gyro2SideB.isValid();
|
||||
sensors[0].second = deviceTemperatures.gyro2SideB.value;
|
||||
@ -976,8 +975,6 @@ void ThermalController::ctrlAcsBoard() {
|
||||
if (chooseHeater(switchNr, redSwitchNr)) {
|
||||
if (heaterHandler.checkSwitchState(switchNr)) {
|
||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::OFF);
|
||||
sif::info << "ThermalController::checkLimitsAndCtrlHeater: Heater"
|
||||
<< static_cast<int>(thermalComponent) << " OFF" << std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1213,7 +1210,7 @@ void ThermalController::ctrlPcduAcu() {
|
||||
|
||||
if (chooseHeater(switchNr, redSwitchNr)) {
|
||||
bool sensorTempAvailable = true;
|
||||
|
||||
//TODO: check
|
||||
if (deviceTemperatures.acu.value[0] != INVALID_TEMPERATURE) {
|
||||
sensorTemp = deviceTemperatures.acu.value[0];
|
||||
} else if (deviceTemperatures.acu.value[1] != INVALID_TEMPERATURE) {
|
||||
@ -1458,9 +1455,6 @@ void ThermalController::ctrlComponentTemperature(heater::Switchers switchNr,
|
||||
redSwitchNr)) { // TODO: muss der Heater dann wirklich abgeschalten werden?
|
||||
if (heaterHandler.checkSwitchState(switchNr)) {
|
||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::OFF);
|
||||
sif::info << "ThermalController::checkLimitsAndCtrlHeater: Heater"
|
||||
<< static_cast<int>(thermalComponent) << " OFF"
|
||||
<< std::endl; // TODO: printouts löschen
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user