further development thermal controller
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
This commit is contained in:
@ -28,7 +28,6 @@ struct TempLimits {
|
||||
float opUpperLimit;
|
||||
float nopLowerLimit;
|
||||
float nopUpperLimit;
|
||||
// TODO define limits
|
||||
};
|
||||
|
||||
class ThermalController : public ExtendedControllerBase {
|
||||
@ -52,8 +51,15 @@ class ThermalController : public ExtendedControllerBase {
|
||||
uint32_t* msToReachTheMode) override;
|
||||
|
||||
private:
|
||||
static const uint8_t SUBSYSTEM_ID = SUBSYSTEM_ID::HEATER_HANDLER;
|
||||
static constexpr Event HEATER_MAX_BURNTIME_REACHED = MAKE_EVENT(0, severity::LOW);
|
||||
static constexpr Event INVALID_SENSOR_TEMPERATURE = MAKE_EVENT(1, severity::LOW);
|
||||
|
||||
static const uint32_t DELAY = 500;
|
||||
static const uint32_t OP_TIME = 1000; // TODO to be changed
|
||||
|
||||
// TODO to be changed
|
||||
static const uint32_t OP_TIME = 1000;
|
||||
static const uint32_t TEMP_OFFSET = 10;
|
||||
|
||||
enum class InternalState { STARTUP, INITIAL_DELAY, READY };
|
||||
|
||||
@ -103,6 +109,7 @@ class ThermalController : public ExtendedControllerBase {
|
||||
SUS::SusDataset susSet11;
|
||||
|
||||
// TempLimits
|
||||
// TODO: find missing temperatures
|
||||
// TempLimits plocHeatspreaderLimits = TempLimits(-20.0, 70.0, -30.0, 80.0);
|
||||
// TempLimits plocMissionBoardLimits = TempLimits(-20.0, 70.0, -30.0, 80.0);
|
||||
TempLimits cameraLimits = TempLimits(-40.0, -30.0, 65.0, 85.0);
|
||||
|
Reference in New Issue
Block a user