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