From 848adc2f0ff01e1dd4b758b947c47657a0a05dc6 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 6 Jun 2022 20:16:57 -0400 Subject: Add demo specific KUKSA.val configuration Add kuksa-val-agl and kuksa-val-agl-demo-cluster recipes that install extra configuration for KUKSA.val for the AGL demo platform. Changes: - Add kuksa-val-agl recipe to install AGL specific signals overlay and uses a new environment variable hook in the kuksa-val systemd unit to pass the required --overlays option to pick it up. - Add kuksa-val-agl-demo-cluster recipe to install cluster support specific kuksa-val environment file that makes kuksa-val-server listen on all addresses. This is hopefully a stop gap approach for the cluster demo until support for listening on multiple addresses is added upstream. - Add kuksa-val-agl to packagegroup-agl-ivi-services to enable the AGL specific signals in the demo images. - Add kuksa-val-agl-demo-cluster to packagegroup-agl-demo-cluster-support to pick it up when the agl-demo-cluster-support feature is used to build an image for the full AGL demo setup. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray Change-Id: I9f847a2520bc55be6d994a45bc8815b86ec1d1ae --- .../kuksa-val-agl/00-agl_vss_overlay_2.2.json | 81 ++++++++++++++++++++++ .../kuksa-val/kuksa-val-agl/kuksa-val.env | 1 + 2 files changed, 82 insertions(+) create mode 100644 recipes-connectivity/kuksa-val/kuksa-val-agl/00-agl_vss_overlay_2.2.json create mode 100644 recipes-connectivity/kuksa-val/kuksa-val-agl/kuksa-val.env (limited to 'recipes-connectivity/kuksa-val/kuksa-val-agl') diff --git a/recipes-connectivity/kuksa-val/kuksa-val-agl/00-agl_vss_overlay_2.2.json b/recipes-connectivity/kuksa-val/kuksa-val-agl/00-agl_vss_overlay_2.2.json new file mode 100644 index 000000000..6cfdf5eee --- /dev/null +++ b/recipes-connectivity/kuksa-val/kuksa-val-agl/00-agl_vss_overlay_2.2.json @@ -0,0 +1,81 @@ +{ + "Vehicle": { + "children": { + "ADAS": { + "children": { + "CruiseControl": { + "children": { + "IsSet": { + "datatype": "boolean", + "description": "Indicates if cruise control speed is set. True = Enabled. False = Disabled.", + "type": "sensor", + "uuid": "65444a5d94dd45c59187f4179bf541ad" + } + } + } + } + }, + "Cabin": { + "children": { + "Infotainment": { + "children": { + "Media": { + "children": { + "Action": { + "datatype": "string", + "description": "Tells if the media was", + "enum": [ + "unknown", + "Stop", + "Play", + "FastForward", + "FastBackward", + "SkipForward", + "SkipBackward", + "NextSource" + ], + "type": "actuator", + "uuid": "0357aea525bf505981a14e4fc720094e" + } + } + }, + "Navigation": { + "children": { + "State": { + "datatype": "string", + "description": "Navigation state", + "enum": [ + "unknown", + "Active", + "Arrived", + "Stopped" + ], + "type": "sensor", + "uuid": "4c16a4aace5a418580c6370356d2acb9" + }, + "ElapsedDistance": { + "datatype": "float", + "description": "Navigation elapsed distance", + "type": "sensor", + "unit": "km", + "uuid": "0bef606dcf5b4a75bfd7e5f3c68359ec" + } + } + }, + "Cluster": { + "children": { + "Mode": { + "datatype": "boolean", + "description": "Cluster mode switch engaged", + "type": "actuator", + "uuid": "7df1649ebed447ef81bb6e92786514d9" + } + } + } + } + } + } + } + } + } +} diff --git a/recipes-connectivity/kuksa-val/kuksa-val-agl/kuksa-val.env b/recipes-connectivity/kuksa-val/kuksa-val-agl/kuksa-val.env new file mode 100644 index 000000000..74a5f4e4d --- /dev/null +++ b/recipes-connectivity/kuksa-val/kuksa-val-agl/kuksa-val.env @@ -0,0 +1 @@ +EXTRA_ARGS="--overlays /usr/share/kuksa-val/overlays" -- cgit