From 019bef52293b2b039635774bcc14dd5ff40153a1 Mon Sep 17 00:00:00 2001 From: Sayanna Chandula Date: Wed, 22 May 2024 16:20:08 -0700 Subject: [PATCH] thermal: add explicit passive delay to enable step ratio Due to defalut passive delay of 2 seconds being used for the VT sensor, previous samples are ignored at 7 seconds intervals. This change sets explicit passive_delay for VT sensor to make sure we are not ignoring previous samples and apply step_ratio Bug: 342257359 Test: Check VIRTUAL-SKIN-MODEL-UPDATED values at run time Change-Id: I18a9e4913b8153b8d2c3a313451338a9f1b6ca0c Signed-off-by: Sayanna Chandula --- thermal/thermal_info_config_caiman.json | 3 ++- thermal/thermal_info_config_komodo.json | 3 ++- thermal/thermal_info_config_tokay.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/thermal/thermal_info_config_caiman.json b/thermal/thermal_info_config_caiman.json index 3bdba361..a8219eeb 100644 --- a/thermal/thermal_info_config_caiman.json +++ b/thermal/thermal_info_config_caiman.json @@ -307,7 +307,8 @@ "Coefficient": ["VT_LEGACY_WEIGHT", "VT_MODEL_WEIGHT"], "CoefficientType": ["SENSOR", "SENSOR"], "Multiplier": 1, - "StepRatio": 0.4 + "StepRatio": 0.4, + "PassiveDelay": 7000 }, { "Name": "VIRTUAL-SKIN-LSTM-MODEL", diff --git a/thermal/thermal_info_config_komodo.json b/thermal/thermal_info_config_komodo.json index 794986ac..70b0ecc1 100644 --- a/thermal/thermal_info_config_komodo.json +++ b/thermal/thermal_info_config_komodo.json @@ -297,7 +297,8 @@ "Coefficient": ["VT_LEGACY_WEIGHT", "VT_MODEL_WEIGHT"], "CoefficientType": ["SENSOR", "SENSOR"], "Multiplier": 1, - "StepRatio": 0.4 + "StepRatio": 0.4, + "PassiveDelay": 7000 }, { "Name": "VIRTUAL-SKIN-LSTM-MODEL", diff --git a/thermal/thermal_info_config_tokay.json b/thermal/thermal_info_config_tokay.json index 428f1a55..d1a24a2f 100644 --- a/thermal/thermal_info_config_tokay.json +++ b/thermal/thermal_info_config_tokay.json @@ -286,7 +286,8 @@ "Coefficient": ["VT_LEGACY_WEIGHT", "VT_MODEL_WEIGHT"], "CoefficientType": ["SENSOR", "SENSOR"], "Multiplier": 1, - "StepRatio": 0.4 + "StepRatio": 0.4, + "PassiveDelay": 7000 }, { "Name": "VIRTUAL-SKIN-LSTM-MODEL",