minor changes
This commit is contained in:
parent
30eb733e82
commit
c27830334d
@ -84,6 +84,14 @@ void initmission::initTasks() {
|
|||||||
initmission::printAddObjectError("UDP_POLLING", objects::UDP_POLLING_TASK);
|
initmission::printAddObjectError("UDP_POLLING", objects::UDP_POLLING_TASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* UDP bridge */
|
||||||
|
PeriodicTaskIF* errorReporterTestTask = factory->createPeriodicTask(
|
||||||
|
"ERROR_REPORTER", 50, PeriodicTaskIF::MINIMUM_STACK_SIZE, 0.2, missedDeadlineFunc);
|
||||||
|
result = udpBridgeTask->addComponent(objects::INTERNAL_ERROR_REPORTER);
|
||||||
|
if(result != HasReturnvaluesIF::RETURN_OK) {
|
||||||
|
initmission::printAddObjectError("ERROR_REPORTER", objects::INTERNAL_ERROR_REPORTER);
|
||||||
|
}
|
||||||
|
|
||||||
#if TEST_CCSDS_BRIDGE == 1
|
#if TEST_CCSDS_BRIDGE == 1
|
||||||
PeriodicTaskIF* ptmeTestTask = factory->createPeriodicTask(
|
PeriodicTaskIF* ptmeTestTask = factory->createPeriodicTask(
|
||||||
"PTME_TEST", 80, PeriodicTaskIF::MINIMUM_STACK_SIZE, 2.0, missedDeadlineFunc);
|
"PTME_TEST", 80, PeriodicTaskIF::MINIMUM_STACK_SIZE, 2.0, missedDeadlineFunc);
|
||||||
@ -217,6 +225,8 @@ void initmission::initTasks() {
|
|||||||
pusMedPrio->startTask();
|
pusMedPrio->startTask();
|
||||||
pusLowPrio->startTask();
|
pusLowPrio->startTask();
|
||||||
|
|
||||||
|
errorReporterTestTask->startTask();
|
||||||
|
|
||||||
#if OBSW_ADD_TEST_CODE == 1
|
#if OBSW_ADD_TEST_CODE == 1
|
||||||
testTask->startTask();
|
testTask->startTask();
|
||||||
#endif
|
#endif
|
||||||
|
@ -25,7 +25,7 @@ debugging. */
|
|||||||
#define TEST_RADIATION_SENSOR_HANDLER 0
|
#define TEST_RADIATION_SENSOR_HANDLER 0
|
||||||
#define TEST_SUS_HANDLER 1
|
#define TEST_SUS_HANDLER 1
|
||||||
#define TEST_PLOC_HANDLER 0
|
#define TEST_PLOC_HANDLER 0
|
||||||
#define TEST_CCSDS_BRIDGE 1
|
#define TEST_CCSDS_BRIDGE 0
|
||||||
#define PERFORM_PTME_TEST 1
|
#define PERFORM_PTME_TEST 1
|
||||||
|
|
||||||
#define TE0720 0
|
#define TE0720 0
|
||||||
|
@ -348,8 +348,8 @@ ReturnValue_t Max31865PT1000Handler::initializeLocalDataPool(localpool::DataPool
|
|||||||
new PoolEntry<float>({0}, 1, true));
|
new PoolEntry<float>({0}, 1, true));
|
||||||
localDataPoolMap.emplace(Max31865Definitions::PoolIds::FAULT_BYTE,
|
localDataPoolMap.emplace(Max31865Definitions::PoolIds::FAULT_BYTE,
|
||||||
new PoolEntry<uint8_t>({0}));
|
new PoolEntry<uint8_t>({0}));
|
||||||
poolManager.subscribeForPeriodicPacket(sensorDatasetSid,
|
// poolManager.subscribeForPeriodicPacket(sensorDatasetSid,
|
||||||
false, 4.0, false);
|
// false, 4.0, false);
|
||||||
return HasReturnvaluesIF::RETURN_OK;
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user