IMTQ: Lower Integration Time #552

Merged
muellerr merged 9 commits from imtq_lower_integration_time into develop 2023-04-03 15:43:31 +02:00
Showing only changes of commit c4f62842ab - Show all commits

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
}
} }
{ {