meggert
4a86d4ba4b
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
15 lines
422 B
C++
15 lines
422 B
C++
#include "StrFdir.h"
|
|
|
|
#include "mission/acs/defs.h"
|
|
|
|
StrFdir::StrFdir(object_id_t strObject)
|
|
: DeviceHandlerFailureIsolation(strObject, objects::NO_OBJECT) {}
|
|
|
|
ReturnValue_t StrFdir::eventReceived(EventMessage* event) {
|
|
if (event->getEvent() == acs::PTG_CTRL_NO_ATTITUDE_INFORMATION) {
|
|
setFaulty(event->getEvent());
|
|
return returnvalue::OK;
|
|
}
|
|
return DeviceHandlerFailureIsolation::eventReceived(event);
|
|
}
|