aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec4
-rw-r--r--recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.control-panel2
-rw-r--r--recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.gw-control-panel4
3 files changed, 3 insertions, 7 deletions
diff --git a/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec b/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec
index b8a01e362..a08d94a49 100644
--- a/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec
+++ b/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec
@@ -10,13 +10,11 @@ Vehicle.Speed:
signal: PT_VehicleAvgSpeed
Vehicle.Powertrain.CombustionEngine.Speed:
- datatype: float
+ datatype: uint16
type: sensor
dbc2vss:
signal: PT_EngineSpeed
interval_ms: 100
- transform:
- math: "floor(x+0.5)"
vss2dbc:
signal: PT_EngineSpeed
diff --git a/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.control-panel b/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.control-panel
index b5e2b8a3d..fb85dda7e 100644
--- a/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.control-panel
+++ b/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.control-panel
@@ -7,7 +7,7 @@ Vehicle.Speed:
signal: PT_VehicleAvgSpeed
Vehicle.Powertrain.CombustionEngine.Speed:
- datatype: float
+ datatype: uint16
type: sensor
vss2dbc:
signal: PT_EngineSpeed
diff --git a/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.gw-control-panel b/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.gw-control-panel
index 6b0a9a38a..060eb5064 100644
--- a/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.gw-control-panel
+++ b/recipes-connectivity/vss/vss-agl/agl_vss_overlay.vspec.gw-control-panel
@@ -8,13 +8,11 @@ Vehicle.Speed:
interval_ms: 100
Vehicle.Powertrain.CombustionEngine.Speed:
- datatype: float
+ datatype: uint16
type: sensor
dbc2vss:
signal: PT_EngineSpeed
interval_ms: 100
- transform:
- math: "floor(x+0.5)"
# DBC mappings for other signals for V2C demo