not needed as all PL components are set to faulty anyways
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit

This commit is contained in:
Marius Eggert 2023-10-09 14:03:13 +02:00
parent bd8cb7c26f
commit 47b15bec93

View File

@ -403,17 +403,10 @@ void EiveSystem::pdecRecoveryLogic() {
void EiveSystem::forceOffPayload() { void EiveSystem::forceOffPayload() {
CommandMessage msg; CommandMessage msg;
// turn off PL Subsystem
ModeMessage::setModeMessage(&msg, ModeMessage::CMD_MODE_COMMAND_FORCED, HasModesIF::MODE_OFF,
HasModesIF::SUBMODE_NONE);
ReturnValue_t result = commandQueue->sendMessage(plSsQueueId, &msg);
if (result != returnvalue::OK) {
sif::error << "EIVE System: Sending OFF command to PL Subsystem failed" << std::endl;
}
// set PL to faulty // set PL to faulty
HealthMessage::setHealthMessage(&msg, HealthMessage::HEALTH_SET, HasHealthIF::FAULTY); HealthMessage::setHealthMessage(&msg, HealthMessage::HEALTH_SET, HasHealthIF::FAULTY);
result = commandQueue->sendMessage(plPcduQueueId, &msg); ReturnValue_t result = commandQueue->sendMessage(plPcduQueueId, &msg);
if (result != returnvalue::OK) { if (result != returnvalue::OK) {
sif::error << "EIVE System: Sending FAULTY command to PL PCDU failed" << std::endl; sif::error << "EIVE System: Sending FAULTY command to PL PCDU failed" << std::endl;
} }