use linear regression for preduction

This commit is contained in:
2024-12-26 18:49:04 +01:00
parent 29223c0070
commit 1564860213
3 changed files with 56 additions and 43 deletions

View File

@ -128,12 +128,6 @@ void taskMetrics(void *pvParameters)
aMetrics[u16MetricCounter].fMetricValue = getChamberTemperature().average60s.fValue;
u16MetricCounter++;
// Chamber Temperature Predict 10s
strcpy(aMetrics[u16MetricCounter].caMetricName, "chamber_temperature_pred10");
aMetrics[u16MetricCounter].type = FLOAT;
aMetrics[u16MetricCounter].fMetricValue = getChamberTemperature().predict10s.fValue;
u16MetricCounter++;
// Chamber Temperature Predict 60s
strcpy(aMetrics[u16MetricCounter].caMetricName, "chamber_temperature_pred60");
aMetrics[u16MetricCounter].type = FLOAT;