Merge remote-tracking branch 'origin/develop' into imtq_lower_integration_time
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
commit
c4f62842ab
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user