summaryrefslogtreecommitdiffstats
path: root/meta-agl-kuksa-val/recipes-connectivity/kuksa-val/kuksa-client
AgeCommit message (Collapse)AuthorFilesLines
2024-06-27Add meta-agl-kuksa-valScott Murray2-0/+191
Add new meta-agl-kuksa-val layer, and populate it with the base KUKSA.val databroker and VSS schema recipes from meta-agl, as well as the recipes for the Python modules they depend on. Additional changes: - Installation of AGL-specific configuration has been removed from the kuksa-can-provider recipe. It now packages the upstream example/test configuration in a new kuksa-can-provider-conf-example package that can be replaced via the RPROVIDES scheme. Some minor tweaks for paths are made to the upstream .ini file to match FHS expectations. Bug-AGL: SPEC-5136 Change-Id: I3128a223f4fcf16e496cb27e26afcaee0a28979a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30040 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
' href='#n98'>98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
# Mapping Speed
PT_VehicleAvgSpeed:
  minupdatedelay: 100
  targets: 
    Vehicle.Speed: {}

PT_EngineSpeed:
  minupdatedelay: 100
  targets: 
    Vehicle.Powertrain.CombustionEngine.Engine.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"