some tweaks
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2023-03-15 14:36:18 +01:00
parent 64ec76bfb7
commit d273621419
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
3 changed files with 13 additions and 8 deletions

View File

@ -1448,22 +1448,27 @@ void ThermalController::performThermalModuleCtrl() {
ctrlPcduP60Board();
ctrlPcduAcu();
ctrlPcduPdu();
ctrlPlPcduBoard();
// Payload components
ctrlPlocMissionBoard();
ctrlPlocProcessingBoard();
ctrlDac();
ctrlCameraBody();
ctrlScexBoard();
// E-Band
ctrlPlPcduBoard();
ctrlDac();
ctrlDro();
ctrlX8();
ctrlHpa();
ctrlTx();
ctrlMpa();
ctrlScexBoard();
heaterTransitionControl();
}
void ThermalController::ctrlComponentTemperature(heater::Switchers switchNr,
heater::Switchers redSwitchNr,
TempLimits& tempLimit) {
const TempLimits& tempLimit) {
if (selectAndReadSensorTemp()) {
if (chooseHeater(switchNr, redSwitchNr)) {
checkLimitsAndCtrlHeater(switchNr, redSwitchNr, tempLimit);
@ -1521,7 +1526,7 @@ bool ThermalController::chooseHeater(heater::Switchers& switchNr, heater::Switch
}
void ThermalController::checkLimitsAndCtrlHeater(heater::Switchers switchNr,
heater::Switchers redSwitchNr,
struct TempLimits& tempLimit) {
const TempLimits& tempLimit) {
componentAboveCutOffLimit = false;
componentAboveUpperLimit = false;
// if Heater off

View File

@ -227,9 +227,9 @@ class ThermalController : public ExtendedControllerBase {
void copyDevices();
void ctrlComponentTemperature(heater::Switchers switchNr, heater::Switchers redSwitchNr,
TempLimits& tempLimit);
const TempLimits& tempLimit);
void checkLimitsAndCtrlHeater(heater::Switchers switchNr, heater::Switchers redSwitchNr,
TempLimits& tempLimit);
const TempLimits& tempLimit);
bool chooseHeater(heater::Switchers& switchNr, heater::Switchers redSwitchNr);
bool selectAndReadSensorTemp();

2
tmtc

@ -1 +1 @@
Subproject commit a54e5a8e143380131bcb66fd6ff8b8ad48390e05
Subproject commit 4f48c25bf757b6c056072049fe5965da890b4f5b