2022-11-24 16:40:59 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <fsfw/controller/ExtendedControllerBase.h>
|
|
|
|
#include <mission/devices/devicedefinitions/Max31865Definitions.h>
|
|
|
|
|
|
|
|
class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject {
|
|
|
|
public:
|
2022-11-25 10:47:23 +01:00
|
|
|
explicit TemperatureSensorInserter(object_id_t objectId);
|
2022-11-24 16:40:59 +01:00
|
|
|
|
|
|
|
ReturnValue_t initialize() override;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
ReturnValue_t performOperation(uint8_t opCode) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
int iteration = 0;
|
|
|
|
float value = 0;
|
2022-11-25 10:13:24 +01:00
|
|
|
MAX31865::PrimarySet max31865PlocHeatspreaderSet;
|
|
|
|
MAX31865::PrimarySet max31865PlocMissionboardSet;
|
2022-11-24 16:40:59 +01:00
|
|
|
|
2022-11-25 10:47:23 +01:00
|
|
|
// void noise();
|
2022-11-24 16:40:59 +01:00
|
|
|
};
|