Merge pull request 'disable some printouts' (#553) from tweaks_tcs into develop
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

Reviewed-on: #553
This commit is contained in:
Robin Müller 2023-04-03 15:20:32 +02:00
commit 800ab7e87f
2 changed files with 9 additions and 3 deletions

View File

@ -18,7 +18,7 @@
// Enabling this should trigger a special event which in turn should trigger a system reaction. // Enabling this should trigger a special event which in turn should trigger a system reaction.
#define LOWER_SYRLINKS_UPPER_LIMITS 0 #define LOWER_SYRLINKS_UPPER_LIMITS 0
#define LOWER_EBAND_UPPER_LIMITS 1 #define LOWER_EBAND_UPPER_LIMITS 0
#define LOWER_PLOC_UPPER_LIMITS 0 #define LOWER_PLOC_UPPER_LIMITS 0
ThermalController::ThermalController(object_id_t objectId, HeaterHandler& heater) ThermalController::ThermalController(object_id_t objectId, HeaterHandler& heater)
@ -110,22 +110,28 @@ void ThermalController::performControlOperation() {
} }
if (cycles == 50) { if (cycles == 50) {
sif::debug << "ThermalController: changing limits" << std::endl; // TODO: rausschmeissen bool changedLimits = false;
#if LOWER_SYRLINKS_UPPER_LIMITS == 1 #if LOWER_SYRLINKS_UPPER_LIMITS == 1
changedLimits = true;
sBandTransceiverLimits.cutOffLimit = 0; sBandTransceiverLimits.cutOffLimit = 0;
sBandTransceiverLimits.opUpperLimit = 0; sBandTransceiverLimits.opUpperLimit = 0;
sBandTransceiverLimits.nopUpperLimit = 0; sBandTransceiverLimits.nopUpperLimit = 0;
#endif #endif
#if LOWER_PLOC_UPPER_LIMITS == 1 #if LOWER_PLOC_UPPER_LIMITS == 1
changedLimits = true;
plocMissionBoardLimits.cutOffLimit = 0; plocMissionBoardLimits.cutOffLimit = 0;
plocMissionBoardLimits.opUpperLimit = 0; plocMissionBoardLimits.opUpperLimit = 0;
plocMissionBoardLimits.nopUpperLimit = 0; plocMissionBoardLimits.nopUpperLimit = 0;
#endif #endif
#if LOWER_EBAND_UPPER_LIMITS == 1 #if LOWER_EBAND_UPPER_LIMITS == 1
changedLimits = true;
hpaLimits.cutOffLimit = 0; hpaLimits.cutOffLimit = 0;
hpaLimits.opUpperLimit = 0; hpaLimits.opUpperLimit = 0;
hpaLimits.nopUpperLimit = 0; hpaLimits.nopUpperLimit = 0;
#endif #endif
if(changedLimits) {
sif::debug << "ThermalController: changing limits" << std::endl; // TODO: rausschmeissen
}
} }
{ {

2
tmtc

@ -1 +1 @@
Subproject commit cef8d623c9fa11237fc8e51e5fd4dab750a5602b Subproject commit b72dad49a9c05a37c094a22d5fdaa15643b5ca7f