diff options
author | Scott Murray <scott.murray@konsulko.com> | 2024-06-18 16:30:05 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2024-06-20 02:04:33 +0000 |
commit | ec74e53f95f8a860bad8036ac492ae4a328f6b0c (patch) | |
tree | 3c3b64b2e165b6e265004b0f7a8c09972c0aefa1 /recipes-connectivity/kuksa-val/kuksa-can-provider/mapping.yml | |
parent | d9f9ddd177a57110d9c67ea438436c3160f8e429 (diff) |
kuksa-dbc-feeder: Upgrade to kuksa-can-provider 0.4.3
Upgrade kuksa-dbc-feeder to 0.4.3 release, which includes a rename
to kuksa-can-provider and a new location on github. All references
to kuksa-dbc-feeder have been renamed throughout the tree to
hopefully maintain consistency, though note that the actual script
name upstream remains "dbcfeeder.py" at present.
Bug-AGL: SPEC-5179
Change-Id: I88cf1c29187ad6cb882ee538a98e6e138aa76bfa
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30002
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Tested-by: Jenkins Job builder account
Diffstat (limited to 'recipes-connectivity/kuksa-val/kuksa-can-provider/mapping.yml')
-rw-r--r-- | recipes-connectivity/kuksa-val/kuksa-can-provider/mapping.yml | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/recipes-connectivity/kuksa-val/kuksa-can-provider/mapping.yml b/recipes-connectivity/kuksa-val/kuksa-can-provider/mapping.yml new file mode 100644 index 000000000..b1c1fece7 --- /dev/null +++ b/recipes-connectivity/kuksa-val/kuksa-can-provider/mapping.yml @@ -0,0 +1,152 @@ +# Mapping Speed +PT_VehicleAvgSpeed: + minupdatedelay: 100 + targets: + Vehicle.Speed: {} + +PT_EngineSpeed: + minupdatedelay: 100 + targets: + Vehicle.Powertrain.CombustionEngine.Speed: + transform: + math: "floor(x+0.5)" + +# +# NOTE: +# +# The following mappings depend on the AGL-specific VSS overlay +# that adds the extra Vehicle.Cabin.SteeringWheel.Switches sensors. +# Since the CAN events are coming from LIN polling, applications +# need to filter/debounce themselves. The minupdatedelay of 0 is +# intentional to avoid missing events. +# + +SW_Next: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.Next: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_Previous: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.Previous: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_Mode: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.Mode: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_Info: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.Info: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_CruiseEnable: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_CruiseSet: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.CruiseSet: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_CruiseResume: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.CruiseResume: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_CruiseCancel: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.CruiseCancel: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_VolumeUp: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.VolumeUp: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_VolumeDown: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.VolumeDown: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_VolumeMute: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.VolumeMute: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_Horn: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.Horn: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" + +SW_LaneDepartureWarning: + minupdatedelay: 0 + targets: + Vehicle.Cabin.SteeringWheel.Switches.LaneDepartureWarning: + filter-duplicates: "true" + transform: + fullmapping: + 0: "false" + 1: "true" |