Two errors in the device handler to fix. Adjust the receiving of the packet in the 0.18s window and solve the problem of automatic passage to MODE OFf.

This commit is contained in:
mmode committed 2021-09-15 20:46:06 +02:00
1 parent 02bde1133e
commit d366b3ca22
9 files changed
+25 -8

No files matched your search

+4 -4
View File
@@ -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();