add prediction for 10s

This commit is contained in:
2024-12-25 22:10:38 +01:00
parent 307278e679
commit ff16e601fb
3 changed files with 47 additions and 7 deletions

View File

@ -128,6 +128,12 @@ 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++;
/*Inlet Flow Temperature*/
strcpy(aMetrics[u16MetricCounter].caMetricName, "inlet_flow_temperature");
aMetrics[u16MetricCounter].type = FLOAT;