summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorCalvin Huang <calhuang@google.com>2020-04-07 18:06:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-07 18:06:45 +0000
commit9a7fe2f43218d571b6cc6c436a52ab8f752465af (patch)
tree2b7b92187a917c151dc7ced1af7070115ec17e50 /common
parentad64c669c84da82c51d6fb521fdc9958cbf67522 (diff)
parent62d956df9ef9160e43c06c3c6935c252d12975ac (diff)
downloaddevice_generic_car-9a7fe2f43218d571b6cc6c436a52ab8f752465af.tar.gz
device_generic_car-9a7fe2f43218d571b6cc6c436a52ab8f752465af.tar.bz2
device_generic_car-9a7fe2f43218d571b6cc6c436a52ab8f752465af.zip
Merge "Add VHAL property init value with json" into rvc-dev
Diffstat (limited to 'common')
-rw-r--r--common/vhaloverride/ev.car.json16
-rw-r--r--common/vhaloverride/uxr.car.json23
2 files changed, 39 insertions, 0 deletions
diff --git a/common/vhaloverride/ev.car.json b/common/vhaloverride/ev.car.json
new file mode 100644
index 0000000..b063765
--- /dev/null
+++ b/common/vhaloverride/ev.car.json
@@ -0,0 +1,16 @@
+[
+ {
+ "timestamp": 0,
+ "areaId": 0,
+ "name": "INFO_FUEL_TYPE",
+ "value": [10],
+ "prop": 289472773
+ },
+ {
+ "timestamp": 0,
+ "name": "INFO_EV_CONNECTOR_TYPE",
+ "value": [1, 5],
+ "areaId": 0,
+ "prop": 289472775
+ }
+]
diff --git a/common/vhaloverride/uxr.car.json b/common/vhaloverride/uxr.car.json
new file mode 100644
index 0000000..c7652ba
--- /dev/null
+++ b/common/vhaloverride/uxr.car.json
@@ -0,0 +1,23 @@
+[
+ {
+ "timestamp": 0,
+ "areaId": 0,
+ "name": "PERF_VEHICLE_SPEED",
+ "value": 50.0,
+ "prop": 291504647
+ },
+ {
+ "timestamp": 0,
+ "areaId": 0,
+ "name": "GEAR_SELECTION",
+ "value": 8,
+ "prop": 289408000
+ },
+ {
+ "timestamp": 0,
+ "areaId": 0,
+ "name": "PARKING_BRAKE_ON",
+ "value": 0,
+ "prop": 287310850
+ }
+]