This commit is contained in:
parent
861bee8083
commit
5c97020087
1
.idea/cmake.xml
generated
1
.idea/cmake.xml
generated
@ -10,7 +10,6 @@
|
|||||||
</envs>
|
</envs>
|
||||||
</ADDITIONAL_GENERATION_ENVIRONMENT>
|
</ADDITIONAL_GENERATION_ENVIRONMENT>
|
||||||
</configuration>
|
</configuration>
|
||||||
<configuration PROFILE_NAME="Debug" ENABLED="true" CONFIG_NAME="Debug" NO_GENERATOR="true" />
|
|
||||||
</configurations>
|
</configurations>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -933,7 +933,6 @@ void ThermalController::copyDevices() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ThermalController::ctrlAcsBoard() {
|
void ThermalController::ctrlAcsBoard() {
|
||||||
// TODO: check
|
|
||||||
heater::Switchers switchNr = heater::HEATER_2_ACS_BRD;
|
heater::Switchers switchNr = heater::HEATER_2_ACS_BRD;
|
||||||
heater::Switchers redSwitchNr = heater::HEATER_0_OBC_BRD;
|
heater::Switchers redSwitchNr = heater::HEATER_0_OBC_BRD;
|
||||||
|
|
||||||
@ -957,7 +956,7 @@ void ThermalController::ctrlAcsBoard() {
|
|||||||
resetSensorsArray();
|
resetSensorsArray();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
resetSensorsArray();
|
||||||
// B side
|
// B side
|
||||||
sensors[0].first = deviceTemperatures.gyro2SideB.isValid();
|
sensors[0].first = deviceTemperatures.gyro2SideB.isValid();
|
||||||
sensors[0].second = deviceTemperatures.gyro2SideB.value;
|
sensors[0].second = deviceTemperatures.gyro2SideB.value;
|
||||||
@ -976,8 +975,6 @@ void ThermalController::ctrlAcsBoard() {
|
|||||||
if (chooseHeater(switchNr, redSwitchNr)) {
|
if (chooseHeater(switchNr, redSwitchNr)) {
|
||||||
if (heaterHandler.checkSwitchState(switchNr)) {
|
if (heaterHandler.checkSwitchState(switchNr)) {
|
||||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::OFF);
|
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)) {
|
if (chooseHeater(switchNr, redSwitchNr)) {
|
||||||
bool sensorTempAvailable = true;
|
bool sensorTempAvailable = true;
|
||||||
|
//TODO: check
|
||||||
if (deviceTemperatures.acu.value[0] != INVALID_TEMPERATURE) {
|
if (deviceTemperatures.acu.value[0] != INVALID_TEMPERATURE) {
|
||||||
sensorTemp = deviceTemperatures.acu.value[0];
|
sensorTemp = deviceTemperatures.acu.value[0];
|
||||||
} else if (deviceTemperatures.acu.value[1] != INVALID_TEMPERATURE) {
|
} 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?
|
redSwitchNr)) { // TODO: muss der Heater dann wirklich abgeschalten werden?
|
||||||
if (heaterHandler.checkSwitchState(switchNr)) {
|
if (heaterHandler.checkSwitchState(switchNr)) {
|
||||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::OFF);
|
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