summaryrefslogtreecommitdiffstats
path: root/recipes-demo/kuksa-vss-init/files
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-01-16 18:07:22 -0500
committerScott Murray <scott.murray@konsulko.com>2023-01-18 21:03:21 -0500
commit559c654fb03a8f7530f291066122fe33a6b99449 (patch)
treefba6cb50adf5ce76bd6e779bf22e3b0d59833db2 /recipes-demo/kuksa-vss-init/files
parentab99f9c50797b07b069433ce6a78dcad2b6702d3 (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: Id2f013e669eca5c50e75e7ee9e515b78e517163b Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-demo/kuksa-vss-init/files')
-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")