summaryrefslogtreecommitdiffstats
path: root/recipes-demo
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-01-16 18:07:22 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-01-29 14:29:37 +0000
commit9b987f524566da07fd451430ae6a1372470c364f (patch)
tree7af3b039070b6ab16d3cd8a0a58d6d7b1afd9444 /recipes-demo
parent4ad36f3a6d60bf5c73529fa3dc22a755cf6a3229 (diff)
kuksa_vss_init: update some signal names
Update some signal names that were missed in previous VSS 3.0 updates. Bug-AGL: SPEC-4664 Change-Id: I2352eb67ec5a87701c184b7d112e8a0e41a71c11 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 559c654fb03a8f7530f291066122fe33a6b99449)
Diffstat (limited to 'recipes-demo')
-rw-r--r--recipes-demo/kuksa-vss-init/files/kuksa_vss_init.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-demo/kuksa-vss-init/files/kuksa_vss_init.py b/recipes-demo/kuksa-vss-init/files/kuksa_vss_init.py
index 0177e3c12..aa7876f6f 100644
--- a/recipes-demo/kuksa-vss-init/files/kuksa_vss_init.py
+++ b/recipes-demo/kuksa-vss-init/files/kuksa_vss_init.py
@@ -28,9 +28,9 @@ class VSS:
self.client = client
self.speed = "Vehicle.Speed"
- self.engineRPM = "Vehicle.Powertrain.CombustionEngine.Engine.Speed"
+ self.engineRPM = "Vehicle.Powertrain.CombustionEngine.Speed"
self.fuelLevel = "Vehicle.Powertrain.FuelSystem.Level"
- self.coolantTemp = "Vehicle.Powertrain.CombustionEngine.Engine.ECT"
+ self.coolantTemp = "Vehicle.Powertrain.CombustionEngine.ECT"
self.leftIndicator = "Vehicle.Body.Lights.IsLeftIndicatorOn"
self.rightIndicator = "Vehicle.Body.Lights.IsRightIndicatorOn"
# // Selected Gear output = > 0 = Neutral, 1/2/.. = Forward, -1/.. = Reverse, 126 = Park, 127 = Drive
@@ -40,19 +40,19 @@ class VSS:
self.parkingLightOn = "Vehicle.Body.Lights.IsParkingOn"
self.hazardLightOn = "Vehicle.Body.Lights.IsHazardOn"
self.travelledDistance = "Vehicle.TravelledDistance"
- self.trunkLocked = "Vehicle.Body.Trunk.IsLocked"
- self.trunkOpen = "Vehicle.Body.Trunk.IsOpen"
+ self.trunkLocked = "Vehicle.Body.Trunk.Rear.IsLocked"
+ self.trunkOpen = "Vehicle.Body.Trunk.Rear.IsOpen"
# // \"normal\", \"sport\", \"economy\", \"snow\", \"rain\"]
self.performanceMode = "Vehicle.Powertrain.Transmission.PerformanceMode"
- self.ambientAirTemperature = "Vehicle.AmbientAirTemperature"
- self.mil = "Vehicle.OBD.Status.MIL"
- self.cruiseControlError = "Vehicle.ADAS.CruiseControl.Error"
+ self.ambientAirTemperature = "Vehicle.Exterior.AirTemperature"
+ self.mil = "Vehicle.OBD.Status.IsMILOn"
+ self.cruiseControlError = "Vehicle.ADAS.CruiseControl.IsError"
self.cruiseControlSpeedSet = "Vehicle.ADAS.CruiseControl.SpeedSet"
self.cruiseControlisActive = "Vehicle.ADAS.CruiseControl.IsActive"
- self.batteryChargingStatus = "Vehicle.Powertrain.Battery.Charging.Status"
+ self.batteryChargingStatus = "Vehicle.Powertrain.TractionBattery.Charging.IsCharging"
#
- self.currLat = "Vehicle.Cabin.Infotainment.Navigation.CurrentLocation.Latitude"
- self.currLng = "Vehicle.Cabin.Infotainment.Navigation.CurrentLocation.Longitude"
+ self.currLat = "Vehicle.Cabin.CurrentLocation.Latitude"
+ self.currLng = "Vehicle.Cabin.CurrentLocation.Longitude"
self.desLat = "Vehicle.Cabin.Infotainment.Navigation.DestinationSet.Latitude"
self.desLng = "Vehicle.Cabin.Infotainment.Navigation.DestinationSet.Longitude"
self.steeringInfo = "Vehicle.Cabin.SteeringWheel.Switches.Info"
@@ -86,7 +86,7 @@ class VSS:
self.client.setValue(self.desLat, "31.781456")
self.client.setValue(self.desLng, "76.997469")
# Show the map
- self.client.setValue(self.steeringInfo, "true")
+ self.client.setValue(self.steeringInfo, "false")
print("All value set succesfully")