changes thermal control
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:
@ -134,6 +134,11 @@ class ThermalController : public ExtendedControllerBase {
|
||||
TempLimits mpaLimits = TempLimits(-40.0, -30.0, -75.0, 80.0, 90.0);
|
||||
TempLimits scexBoardLimits = TempLimits(-60.0, -40.0, 80.0, 85.0, 150.0);
|
||||
|
||||
float sensorTemp;
|
||||
bool sensorTempAvailable = true;
|
||||
bool heaterAvailable = true;
|
||||
bool redSwitchNrInUse = false;
|
||||
|
||||
// Initial delay to make sure all pool variables have been initialized their owners
|
||||
Countdown initialCountdown = Countdown(DELAY);
|
||||
|
||||
@ -144,14 +149,16 @@ class ThermalController : public ExtendedControllerBase {
|
||||
PoolEntry<float> tmp1075IfBrd = PoolEntry<float>(10.0);
|
||||
|
||||
static constexpr dur_millis_t MUTEX_TIMEOUT = 50;
|
||||
|
||||
void copySensors();
|
||||
void copySus();
|
||||
void copyDevices();
|
||||
|
||||
void ctrlHeater(heater::Switchers switchNr, heater::Switchers redSwitchNr, bool redSwitchNrInUse,
|
||||
float sensorTemp, float opLowerLimit, float cutOffLimit);
|
||||
void chooseHeater(heater::Switchers switchNr, heater::Switchers redSwitchNr,
|
||||
bool& redSwitchNrInUse, bool& heaterAvailable);
|
||||
void ctrlHeater(heater::Switchers switchNr, heater::Switchers redSwitchNr, float opLowerLimit,
|
||||
float cutOffLimit);
|
||||
void chooseHeater(heater::Switchers& switchNr, heater::Switchers redSwitchNr);
|
||||
void chooseSensor(heater::Switchers switchNr, float sensorValue1, float sensorValue2,
|
||||
float sensorValue3, bool sensor1Valid, bool sensor2Valid, bool sensor3Valid);
|
||||
|
||||
void ctrlAcsBoard();
|
||||
void ctrlMgt();
|
||||
|
Reference in New Issue
Block a user