diff --git a/_bin/linux/debug/fsfw-example-linux.elf b/_bin/linux/debug/fsfw-example-linux.elf index 03ceab4..008bf88 100755 Binary files a/_bin/linux/debug/fsfw-example-linux.elf and b/_bin/linux/debug/fsfw-example-linux.elf differ diff --git a/_obj/linux/debug/bsp_linux/core/InitMission.o b/_obj/linux/debug/bsp_linux/core/InitMission.o index 2d21bce..1dce137 100644 Binary files a/_obj/linux/debug/bsp_linux/core/InitMission.o and b/_obj/linux/debug/bsp_linux/core/InitMission.o differ diff --git a/_obj/linux/debug/fsfw/devicehandlers/DeviceHandlerBase.o b/_obj/linux/debug/fsfw/devicehandlers/DeviceHandlerBase.o index 4885e07..ec9fe48 100644 Binary files a/_obj/linux/debug/fsfw/devicehandlers/DeviceHandlerBase.o and b/_obj/linux/debug/fsfw/devicehandlers/DeviceHandlerBase.o differ diff --git a/_obj/linux/debug/fsfw/devicehandlers/DeviceHandlerFailureIsolation.o b/_obj/linux/debug/fsfw/devicehandlers/DeviceHandlerFailureIsolation.o index b63a1d2..b7dd142 100644 Binary files a/_obj/linux/debug/fsfw/devicehandlers/DeviceHandlerFailureIsolation.o and b/_obj/linux/debug/fsfw/devicehandlers/DeviceHandlerFailureIsolation.o differ diff --git a/_obj/linux/debug/mission/DeviceHandler/ArduinoDeviceHandler.o b/_obj/linux/debug/mission/DeviceHandler/ArduinoDeviceHandler.o index 4175fe4..fabb565 100644 Binary files a/_obj/linux/debug/mission/DeviceHandler/ArduinoDeviceHandler.o and b/_obj/linux/debug/mission/DeviceHandler/ArduinoDeviceHandler.o differ diff --git a/bsp_linux/core/InitMission.cpp b/bsp_linux/core/InitMission.cpp index 12c30f7..0c388b6 100644 --- a/bsp_linux/core/InitMission.cpp +++ b/bsp_linux/core/InitMission.cpp @@ -111,7 +111,7 @@ void InitMission::createTasks(){ FixedTimeslotTaskIF* arduinoTask = TaskFactory::instance()-> createFixedTimeslotTask("ARDUINO_TASK",40, - PeriodicTaskIF::MINIMUM_STACK_SIZE, 3.2, nullptr); + PeriodicTaskIF::MINIMUM_STACK_SIZE, 0.8, nullptr); result = pollingSequenceArduinoFunction(arduinoTask); if(result != HasReturnvaluesIF::RETURN_OK) { sif::error << "InitMission::createTasks:ArduinoPST initialization failed!" @@ -151,13 +151,13 @@ void InitMission::createTasks(){ //Main thread sleep sif::debug << "Starting Tasks in 3.2 seconds" << std::endl; - TaskFactory::delayTask(3200); + TaskFactory::delayTask(1600); distributerTask->startTask(); udpBridgeTask->startTask(); udpPollingTask->startTask(); //serializeTask->startTask(); - //arduinoTask->startTask(); - controllerTask->startTask(); + arduinoTask->startTask(); + //controllerTask->startTask(); //payloadTask->startTask(); eventTask->startTask(); diff --git a/fsfw/devicehandlers/DeviceHandlerBase.cpp b/fsfw/devicehandlers/DeviceHandlerBase.cpp index 0e9be77..6fba38d 100644 --- a/fsfw/devicehandlers/DeviceHandlerBase.cpp +++ b/fsfw/devicehandlers/DeviceHandlerBase.cpp @@ -78,6 +78,7 @@ ReturnValue_t DeviceHandlerBase::performOperation(uint8_t counter) { performOperationHook(); } if (mode == MODE_OFF) { + sif::debug<<"DH_base: Mode off"<getEvent()) { case HasModesIF::MODE_TRANSITION_FAILED: case HasModesIF::OBJECT_IN_INVALID_MODE: + sif::debug<<"DH_FDIR: event received 1"<getEvent()); @@ -44,6 +47,7 @@ ReturnValue_t DeviceHandlerFailureIsolation::eventReceived(EventMessage* event) case DeviceHandlerIF::DEVICE_UNREQUESTED_REPLY: case DeviceHandlerIF::DEVICE_UNKNOWN_REPLY: //Some DH's generate generic reply-ids. case DeviceHandlerIF::DEVICE_BUILDING_COMMAND_FAILED: + sif::debug<<"DH_FDIR: event received 2"<getEvent()); @@ -53,6 +57,7 @@ ReturnValue_t DeviceHandlerFailureIsolation::eventReceived(EventMessage* event) case DeviceHandlerIF::DEVICE_REQUESTING_REPLY_FAILED: //The two above should never be confirmed. case DeviceHandlerIF::DEVICE_MISSED_REPLY: + sif::debug<<"DH_FDIR: event received 3"<getEvent()); break; @@ -228,6 +237,7 @@ ReturnValue_t DeviceHandlerFailureIsolation::getParameter(uint8_t domainId, } void DeviceHandlerFailureIsolation::setFaulty(Event reason) { + sif::debug<<"DH_FDIR: setFaulty"< Transition to Normal mode"<