Device Handler has been modified in both the Communication Interface and in DH object. The ScanForReply and InterpreteForReply are fixed. The reading and printing of data is correct. It is still needed to fix the save in datapool and do documentation of the code.
This commit is contained in:
1 parent
d366b3ca22
commit
a8e498ad3a
20 files changed
+335
-212
No files matched your search
@@ -111,7 +111,7 @@ void InitMission::createTasks(){
|
||||
|
||||
FixedTimeslotTaskIF* arduinoTask = TaskFactory::instance()->
|
||||
createFixedTimeslotTask("ARDUINO_TASK",40,
|
||||
PeriodicTaskIF::MINIMUM_STACK_SIZE, 0.8, nullptr);
|
||||
PeriodicTaskIF::MINIMUM_STACK_SIZE, 0.8/*6.4*/, nullptr);
|
||||
result = pollingSequenceArduinoFunction(arduinoTask);
|
||||
if(result != HasReturnvaluesIF::RETURN_OK) {
|
||||
sif::error << "InitMission::createTasks:ArduinoPST initialization failed!"
|
||||
@@ -120,7 +120,7 @@ void InitMission::createTasks(){
|
||||
|
||||
PeriodicTaskIF* controllerTask = TaskFactory::instance()->
|
||||
createPeriodicTask("CONTROLLER_TASK",40,
|
||||
PeriodicTaskIF::MINIMUM_STACK_SIZE, 3, nullptr);
|
||||
PeriodicTaskIF::MINIMUM_STACK_SIZE, 2, nullptr);
|
||||
//result = pollingSequenceControllerFunction(controllerTask);
|
||||
result = controllerTask->addComponent(objects::THERMAL_CONTROLLER);
|
||||
if(result != HasReturnvaluesIF::RETURN_OK) {
|
||||
@@ -150,8 +150,8 @@ void InitMission::createTasks(){
|
||||
#endif
|
||||
|
||||
//Main thread sleep
|
||||
sif::debug << "Starting Tasks in 3.2 seconds" << std::endl;
|
||||
TaskFactory::delayTask(1600);
|
||||
sif::debug << "Starting Tasks in 2 seconds" << std::endl;
|
||||
TaskFactory::delayTask(2400);
|
||||
distributerTask->startTask();
|
||||
udpBridgeTask->startTask();
|
||||
udpPollingTask->startTask();
|
||||
|
||||
Reference in new issue
Block a user