summaryrefslogtreecommitdiffstats
path: root/lib/vehicle-signals/vss_path.dart
blob: 78538b9528c4fbae90f722cb32d58115ce9f8c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// SPDX-License-Identifier: Apache-2.0

class VSSPath {
  static const String vehicleSpeed = "Vehicle.Speed";

  static const String vehicleEngineRPM =
      "Vehicle.Powertrain.CombustionEngine.Speed";

  static const String vehicleFuelLevel = "Vehicle.Powertrain.FuelSystem.Level";

  static const String vehicleCoolantTemp =
      "Vehicle.Powertrain.CombustionEngine.ECT";

  static const String vehicleAmbientAirTemperature =
      "Vehicle.Exterior.AirTemperature";

  static const String vehicleLeftIndicator =
      "Vehicle.Body.Lights.DirectionIndicator.Left.IsSignaling";

  static const String vehicleRightIndicator =
      "Vehicle.Body.Lights.DirectionIndicator.Right.IsSignaling";

  //Selected Gear output=> 0=Neutral, 1/2/..=Forward, -1/..=Reverse, 126=Park, 127=Drive
  static const String vehicleSelectedGear =
      "Vehicle.Powertrain.Transmission.SelectedGear";

  static const String vehicleLowBeamOn = "Vehicle.Body.Lights.Beam.Low.IsOn";

  static const String vehicleHighBeamOn = "Vehicle.Body.Lights.Beam.High.IsOn";

  static const String vehicleParkingLightOn = "Vehicle.Body.Lights.Parking.IsOn";

  static const String vehicleHazardLightOn = "Vehicle.Body.Lights.Hazard.IsSignaling";

  static const String vehicleTravelledDistance = "Vehicle.TravelledDistance";

  static const String vehicleTrunkLocked = "Vehicle.Body.Trunk.Rear.IsLocked";

  static const String vehicleTrunkOpen = "Vehicle.Body.Trunk.Rear.IsOpen";
  
  // \"normal\",\"sport\",\"economy\",\"snow\",\"rain\"]
  static const String vehiclePerformanceMode =
      "Vehicle.Powertrain.Transmission.PerformanceMode";

  static const String vehicleMIL = "Vehicle.OBD.Status.IsMILOn";

  static const String vehicleCruiseControlError =
      "Vehicle.ADAS.CruiseControl.IsError";

  static const String vehicleCruiseControlSpeedSet =
      "Vehicle.ADAS.CruiseControl.SpeedSet";

  static const String vehicleCruiseControlActive =
      "Vehicle.ADAS.CruiseControl.IsActive";

  static const String vehicleBatteryChargingStatus =
      "Vehicle.Powertrain.TractionBattery.Charging.IsCharging";

  static const String steeringCruiseEnable =
      "Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable";

  static const String steeringCruiseSet =
      "Vehicle.Cabin.SteeringWheel.Switches.CruiseSet";

  static const String steeringCruiseResume =
      "Vehicle.Cabin.SteeringWheel.Switches.CruiseResume";

  static const String steeringCruiseCancel =
      "Vehicle.Cabin.SteeringWheel.Switches.CruiseCancel";

  static const String steeringLaneDepWarn =
      "Vehicle.Cabin.SteeringWheel.Switches.LaneDepartureWarning";

  static const String steeringInfo =
      "Vehicle.Cabin.SteeringWheel.Switches.Info";

  static const String vehicleDistanceUnit =
      "Vehicle.Cabin.Infotainment.HMI.DistanceUnit";

  static const String vehicleCurrLat = "Vehicle.CurrentLocation.Latitude";

  static const String vehicleCurrLon = "Vehicle.CurrentLocation.Longitude";

  static const String vehicleDestLat =
      "Vehicle.Cabin.Infotainment.Navigation.DestinationSet.Latitude";

  static const String vehicleDestLon =
      "Vehicle.Cabin.Infotainment.Navigation.DestinationSet.Longitude";
}