test printout added
This commit is contained in:
parent
bc525ab2eb
commit
f80463ef7b
@ -134,13 +134,13 @@ void initTask() {
|
|||||||
|
|
||||||
|
|
||||||
/* Test Task */
|
/* Test Task */
|
||||||
// PeriodicTaskIF* TestTask = TaskFactory::instance()->
|
PeriodicTaskIF* TestTask = TaskFactory::instance()->
|
||||||
// createPeriodicTask("TEST_TASK", 80,
|
createPeriodicTask("TEST_TASK", 80,
|
||||||
// PeriodicTaskIF::MINIMUM_STACK_SIZE, 5.0, nullptr);
|
PeriodicTaskIF::MINIMUM_STACK_SIZE, 5.0, nullptr);
|
||||||
// result = TestTask->addComponent(objects::TEST_TASK);
|
result = TestTask->addComponent(objects::TEST_TASK);
|
||||||
// if (result != HasReturnvaluesIF::RETURN_OK) {
|
if (result != HasReturnvaluesIF::RETURN_OK) {
|
||||||
// sif::error << "Add component Test Task failed" << std::endl;
|
sif::error << "Add component Test Task failed" << std::endl;
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Polling Sequence Table Default */
|
/* Polling Sequence Table Default */
|
||||||
@ -153,7 +153,7 @@ void initTask() {
|
|||||||
// sif::error << "creating PST failed" << std::endl;
|
// sif::error << "creating PST failed" << std::endl;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
//TestTask->startTask();
|
TestTask->startTask();
|
||||||
PacketDistributorTask->startTask();
|
PacketDistributorTask->startTask();
|
||||||
//PollingSequenceTableTaskDefault->startTask();
|
//PollingSequenceTableTaskDefault->startTask();
|
||||||
UdpBridgeTask->startTask();
|
UdpBridgeTask->startTask();
|
||||||
|
@ -1,13 +1,10 @@
|
|||||||
#include "logicalAddresses.h"
|
|
||||||
#include "apid.h"
|
|
||||||
|
|
||||||
#include <test/testtasks/TestTask.h>
|
#include <test/testtasks/TestTask.h>
|
||||||
#include <test/testtasks/PusTcInjector.h>
|
#include <fsfw/objectmanager/frameworkObjects.h>
|
||||||
|
|
||||||
#include <fsfw/serviceinterface/ServiceInterfaceStream.h>
|
#include <fsfw/serviceinterface/ServiceInterfaceStream.h>
|
||||||
|
#include <fsfw/objectmanager/ObjectManagerIF.h>
|
||||||
#include <fsfw/timemanager/Stopwatch.h>
|
#include <fsfw/timemanager/Stopwatch.h>
|
||||||
#include <fsfw/globalfunctions/arrayprinter.h>
|
#include <fsfw/globalfunctions/arrayprinter.h>
|
||||||
#include <etl/vector.h>
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
@ -27,6 +24,7 @@ TestTask::~TestTask() {
|
|||||||
|
|
||||||
ReturnValue_t TestTask::performOperation(uint8_t operationCode) {
|
ReturnValue_t TestTask::performOperation(uint8_t operationCode) {
|
||||||
ReturnValue_t result = RETURN_OK;
|
ReturnValue_t result = RETURN_OK;
|
||||||
|
sif::info << "Hallo EIVE!" << std::endl;
|
||||||
testLock ->lockMutex(MutexIF::TimeoutType::WAITING, 20);
|
testLock ->lockMutex(MutexIF::TimeoutType::WAITING, 20);
|
||||||
if(oneShotAction) {
|
if(oneShotAction) {
|
||||||
// Add code here which should only be run once
|
// Add code here which should only be run once
|
||||||
|
Loading…
Reference in New Issue
Block a user