this seems to work
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:
parent
f546df50a1
commit
9b8092fb09
@ -66,7 +66,6 @@ ThermalController::ThermalController(object_id_t objectId, HeaterHandler& heater
|
||||
susSet10(objects::SUS_10_N_LOC_XMYBZF_PT_ZF),
|
||||
susSet11(objects::SUS_11_R_LOC_XBYMZB_PT_ZB) {
|
||||
resetSensorsArray();
|
||||
|
||||
}
|
||||
|
||||
ReturnValue_t ThermalController::initialize() {
|
||||
@ -1547,8 +1546,10 @@ void ThermalController::checkLimitsAndCtrlHeater(heater::Switchers switchNr,
|
||||
componentAboveUpperLimit = false;
|
||||
auto tempTooHighHandler = [&](const char* whatLimit, bool heaterIsOn) {
|
||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::OFF);
|
||||
sif::info << "ThermalController::checkLimitsAndCtrlHeater: Exceeded " << whatLimit << ": "
|
||||
"Heater for component " << static_cast<int>(thermalComponent) << std::endl;
|
||||
sif::info << "ThermalController::checkLimitsAndCtrlHeater: Exceeded " << whatLimit
|
||||
<< ": "
|
||||
"Heater for component "
|
||||
<< static_cast<int>(thermalComponent) << std::endl;
|
||||
heaterStates[switchNr].switchTransition = true;
|
||||
if (heaterIsOn) {
|
||||
heaterHandler.switchHeater(redSwitchNr, HeaterHandler::SwitchState::OFF);
|
||||
|
@ -86,7 +86,8 @@ void EiveSystem::handleEventMessages() {
|
||||
switch (event.getEvent()) {
|
||||
case tcsCtrl::SYRLINKS_OVERHEATING: {
|
||||
CommandMessage msg;
|
||||
ModeMessage::setModeMessage(&msg, ModeMessage::CMD_MODE_COMMAND_FORCED, com::RX_ONLY, 0);
|
||||
ModeMessage::setModeMessage(&msg, ModeMessage::CMD_MODE_COMMAND_FORCED, com::RX_ONLY,
|
||||
0);
|
||||
ReturnValue_t result =
|
||||
commandQueue->sendMessage(childrenMap[objects::COM_SUBSYSTEM].commandQueue, &msg);
|
||||
if (result != returnvalue::OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user