ptme handling wip

This commit is contained in:
Jakob Meier
2021-09-19 12:27:48 +02:00
parent 4b5f22f013
commit ddd8ff2180
18 changed files with 1312 additions and 6 deletions

View File

@ -1,3 +1,4 @@
#include "OBSWConfig.h"
#include <fsfw/ipc/QueueFactory.h>
#include <fsfw/tmtcpacket/pus/tm.h>
#include <fsfw/objectmanager/ObjectManager.h>
@ -97,7 +98,13 @@ ReturnValue_t TmFunnel::initialize() {
"properly and implements AcceptsTelemetryIF" << std::endl;
return ObjectManagerIF::CHILD_INIT_FAILED;
}
#if OBSW_USE_PTME_IP_CORE == 1
// Live TM will be sent via the virtual channel 0
tmQueue->setDefaultDestination(tmTarget->getReportReceptionQueue(0));
#else
tmQueue->setDefaultDestination(tmTarget->getReportReceptionQueue());
#endif /* OBSW_USE_CCSDS_IP_CORES == 1 */
// Storage destination is optional.
if(storageDestination == objects::NO_OBJECT) {