This commit is contained in:
parent
0587f40874
commit
08c98bd354
@ -19,6 +19,7 @@ target_sources(
|
|||||||
GpsCtrlDummy.cpp
|
GpsCtrlDummy.cpp
|
||||||
GyroAdisDummy.cpp
|
GyroAdisDummy.cpp
|
||||||
GyroL3GD20Dummy.cpp
|
GyroL3GD20Dummy.cpp
|
||||||
|
RadSensorDummy.cpp
|
||||||
MgmLIS3MDLDummy.cpp
|
MgmLIS3MDLDummy.cpp
|
||||||
PlPcduDummy.cpp
|
PlPcduDummy.cpp
|
||||||
ExecutableComIfDummy.cpp
|
ExecutableComIfDummy.cpp
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#ifndef DUMMIES_SUSDUMMY_H_
|
#pragma once
|
||||||
#define DUMMIES_SUSDUMMY_H_
|
|
||||||
|
|
||||||
#include <fsfw/devicehandlers/DeviceHandlerBase.h>
|
#include <fsfw/devicehandlers/DeviceHandlerBase.h>
|
||||||
|
|
||||||
@ -33,5 +32,3 @@ class RadSensorDummy : public DeviceHandlerBase {
|
|||||||
ReturnValue_t initializeLocalDataPool(localpool::DataPool &localDataPoolMap,
|
ReturnValue_t initializeLocalDataPool(localpool::DataPool &localDataPoolMap,
|
||||||
LocalDataPoolManager &poolManager) override;
|
LocalDataPoolManager &poolManager) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* DUMMIES_SUSDUMMY_H_ */
|
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include <dummies/PlPcduDummy.h>
|
#include <dummies/PlPcduDummy.h>
|
||||||
#include <dummies/PlocMpsocDummy.h>
|
#include <dummies/PlocMpsocDummy.h>
|
||||||
#include <dummies/PlocSupervisorDummy.h>
|
#include <dummies/PlocSupervisorDummy.h>
|
||||||
|
#include <dummies/RadSensorDummy.h>
|
||||||
#include <dummies/RwDummy.h>
|
#include <dummies/RwDummy.h>
|
||||||
#include <dummies/SaDeploymentDummy.h>
|
#include <dummies/SaDeploymentDummy.h>
|
||||||
#include <dummies/ScexDummy.h>
|
#include <dummies/ScexDummy.h>
|
||||||
@ -34,6 +35,7 @@
|
|||||||
|
|
||||||
#include "TemperatureSensorInserter.h"
|
#include "TemperatureSensorInserter.h"
|
||||||
#include "dummies/Max31865Dummy.h"
|
#include "dummies/Max31865Dummy.h"
|
||||||
|
#include "dummies/SusDummy.h"
|
||||||
#include "dummies/Tmp1075Dummy.h"
|
#include "dummies/Tmp1075Dummy.h"
|
||||||
#include "mission/genericFactory.h"
|
#include "mission/genericFactory.h"
|
||||||
#include "mission/system/acs/acsModeTree.h"
|
#include "mission/system/acs/acsModeTree.h"
|
||||||
@ -257,4 +259,9 @@ void dummy::createDummies(DummyCfg cfg, PowerSwitchIF& pwrSwitcher, GpioIF* gpio
|
|||||||
objects::PLOC_SUPERVISOR_HANDLER, objects::DUMMY_COM_IF, comCookieDummy, pwrSwitcher);
|
objects::PLOC_SUPERVISOR_HANDLER, objects::DUMMY_COM_IF, comCookieDummy, pwrSwitcher);
|
||||||
plocSupervisorDummy->connectModeTreeParent(satsystem::payload::SUBSYSTEM);
|
plocSupervisorDummy->connectModeTreeParent(satsystem::payload::SUBSYSTEM);
|
||||||
}
|
}
|
||||||
|
if (cfg.addRadSensorDummy) {
|
||||||
|
auto* radSensorDummy =
|
||||||
|
new RadSensorDummy(objects::RAD_SENSOR, objects::DUMMY_COM_IF, comCookieDummy);
|
||||||
|
radSensorDummy->connectModeTreeParent(satsystem::payload::SUBSYSTEM);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,7 @@ struct DummyCfg {
|
|||||||
bool addPlocDummies = true;
|
bool addPlocDummies = true;
|
||||||
bool addStrDummy = true;
|
bool addStrDummy = true;
|
||||||
bool addTmpDummies = true;
|
bool addTmpDummies = true;
|
||||||
|
bool addRadSensorDummy = true;
|
||||||
Tmp1075Cfg tmp1075Cfg;
|
Tmp1075Cfg tmp1075Cfg;
|
||||||
bool addCamSwitcherDummy = false;
|
bool addCamSwitcherDummy = false;
|
||||||
bool addScexDummy = false;
|
bool addScexDummy = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user