parts of p60dock handler
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
#include <fsfwconfig/tmtc/apid.h>
|
||||
#include <fsfwconfig/tmtc/pusIds.h>
|
||||
#include <fsfwconfig/OBSWconfig.h>
|
||||
#include <fsfwconfig/devices/addresses.h>
|
||||
|
||||
#include <fsfw/events/EventManager.h>
|
||||
#include <fsfw/health/HealthTable.h>
|
||||
@ -19,6 +20,9 @@
|
||||
#include <fsfw/tcdistribution/PUSDistributor.h>
|
||||
#include <fsfw/timemanager/TimeStamper.h>
|
||||
#include <mission/utility/TmFunnel.h>
|
||||
#include <mission/devices/P60DockHandler.h>
|
||||
#include <bsp_linux/comIF/cookies/P60DockCookie.h>
|
||||
#include <bsp_linux/comIF/P60DockComIF.h>
|
||||
|
||||
#if ADD_TEST_CODE == 1
|
||||
//#include <test/testtasks/TestTask.h>
|
||||
@ -81,6 +85,17 @@ void ObjectFactory::produceGenericObjects() {
|
||||
new CService200ModeCommanding(objects::PUS_SERVICE_200_MODE_MGMT,
|
||||
apid::EIVE_OBSW, pus::PUS_SERVICE_200);
|
||||
|
||||
char canInterface[] = "can0";
|
||||
/* Cookies */
|
||||
P60DockCookie* p60DockCookie = new P60DockCookie(canInterface, addresses::P60DOCK);
|
||||
|
||||
/* Communication interfaces */
|
||||
new P60DockComIF(objects::P60_DOCK_COM_IF);
|
||||
|
||||
/* Device Handler */
|
||||
new P60DockHandler(objects::P60DOCK_HANDLER, objects::P60_DOCK_COM_IF,
|
||||
p60DockCookie);
|
||||
|
||||
/* Test Device Handler */
|
||||
#if ADD_TEST_CODE == 1
|
||||
// new TestTask(objects::TEST_TASK);
|
||||
|
Reference in New Issue
Block a user