Thermal Controller Update #399

Merged
muellerr merged 84 commits from thermal_controller into develop 2023-04-03 15:12:49 +02:00
346 changed files with 4090 additions and 5568 deletions
Showing only changes of commit eda1f7e212 - Show all commits

View File

@@ -98,6 +98,7 @@ void ThermalController::performControlOperation() {
if (initialCountdown.hasTimedOut()) { if (initialCountdown.hasTimedOut()) {
sif::info << "Starting thermal control operations" << std::endl; sif::info << "Starting thermal control operations" << std::endl;
internalState = InternalState::READY; internalState = InternalState::READY;
break;
} }
return; return;
} }
@@ -109,6 +110,7 @@ void ThermalController::performControlOperation() {
} }
if (cycles == 50) { if (cycles == 50) {
sif::debug << "ThermalController: changing limits" << std::endl;
#if LOWER_SYRLINKS_UPPER_LIMITS == 1 #if LOWER_SYRLINKS_UPPER_LIMITS == 1
sBandTransceiverLimits.cutOffLimit = 0; sBandTransceiverLimits.cutOffLimit = 0;
sBandTransceiverLimits.opUpperLimit = 0; sBandTransceiverLimits.opUpperLimit = 0;

View File

@@ -97,7 +97,7 @@ class ThermalController : public ExtendedControllerBase {
uint32_t* msToReachTheMode) override; uint32_t* msToReachTheMode) override;
private: private:
static const uint32_t INIT_DELAY = 3000; static const uint32_t INIT_DELAY = 1500;
static const uint32_t TEMP_OFFSET = 5; static const uint32_t TEMP_OFFSET = 5;