From f923df9484ed34676dfcf022043f97d86a4bddfa Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 2 Jan 2023 15:28:56 -0500 Subject: Update engine speed signal Update engine speed signal to use VSS 3.0 signal name. Bug-AGL: SPEC-4664 Signed-off-by: Scott Murray Change-Id: I731054928c145f0dda076ec6d6f4df89d90dd0c7 --- app/qml/Main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/qml') diff --git a/app/qml/Main.qml b/app/qml/Main.qml index 29704fb..186e345 100644 --- a/app/qml/Main.qml +++ b/app/qml/Main.qml @@ -31,7 +31,7 @@ ApplicationWindow { onAuthorized: { VehicleSignals.subscribe("Vehicle.Speed") - VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Engine.Speed") + VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Speed") VehicleSignals.subscribe("Vehicle.Cabin.SteeringWheel.Switches.Info") VehicleSignals.get("Vehicle.Cabin.Infotainment.HMI.DistanceUnit") VehicleSignals.subscribe("Vehicle.Cabin.Infotainment.HMI.DistanceUnit") @@ -56,7 +56,7 @@ ApplicationWindow { vehicleSpeed = parseFloat(value) * 0.621504 else vehicleSpeed = parseFloat(value) - } else if (path === "Vehicle.Powertrain.CombustionEngine.Engine.Speed") { + } else if (path === "Vehicle.Powertrain.CombustionEngine.Speed") { engineSpeed = parseFloat(value) } else if (path === "Vehicle.Cabin.SteeringWheel.Switches.Info" && value === "true") { console.log ("Switching views!") -- cgit 1.2.3-korg