summaryrefslogtreecommitdiffstats
path: root/recipes-appfw/packagegroups/packagegroup-agl-appfw-agl.bb
blob: cc923fd4ad9c7d368cfb54b23806c4023e0d3675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SUMMARY = "The software for application framework of AGL IVI profile"
DESCRIPTION = "A set of packages belong to AGL application framework which required by \
AGL App Fw Subsystem"

LICENSE = "MIT"

inherit packagegroup

PACKAGES = "\
    packagegroup-agl-appfw-agl \
    "

ALLOW_EMPTY_${PN} = "1"

RDEPENDS_${PN} += "\
    "
color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
# 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)"

SW_Next:
  minupdatedelay: 500
  targets:
    Vehicle.Cabin.Infotainment.Media.Action:
      transform:
        fullmapping:
          1: "SkipForward"

SW_Previous:
  minupdatedelay: 500
  targets:
    Vehicle.Cabin.Infotainment.Media.Action:
      transform:
        fullmapping:
          1: "SkipBackward"

# NOTE: Dependent on AGL-specific VSS overlay adding the extra action
SW_Mode:
  minupdatedelay: 500
  targets:
    Vehicle.Cabin.Infotainment.Media.Action:
      transform:
        fullmapping:
          1: "NextSource"

# NOTE: Dependent on AGL-specific VSS overlay adding the signal
SW_Info:
  minupdatedelay: 500
  targets:
    Vehicle.Cabin.Infotainment.Cluster.Mode:
      transform:
        fullmapping:
          1: "true"

#
# The following is a little hackish, due to relying on the
# application to treat IsActive and IsSet = "true" as toggles, and
# being dependent on the AGL-specific VSS overlay to add IsSet.
# A standalone LIN feeder with some state knowledge would maybe
# be cleaner.  Another possible option would be the addition of
# another type of transform that has state to the DBC feeder.
#

SW_CruiseEnable:
  minupdatedelay: 500
  targets:
    Vehicle.ADAS.CruiseControl.IsActive:
      transform:
        fullmapping:
          1: "true"

SW_CruiseSet:
  minupdatedelay: 500
  targets:
    Vehicle.ADAS.CruiseControl.IsSet:
      transform:
        fullmapping:
          1: "true"

SW_CruiseResume:
  minupdatedelay: 500
  targets:
    Vehicle.ADAS.CruiseControl.IsSet:
      transform:
        fullmapping:
          1: "true"

SW_CruiseCancel:
  minupdatedelay: 500
  targets:
    Vehicle.ADAS.CruiseControl.IsSet:
      transform:
        fullmapping:
          1: "false"

SW_LaneDepartureWarning:
  minupdatedelay: 500
  targets:
    Vehicle.ADAS.LaneDepartureDetection.IsActive:
      transform:
        fullmapping:
          1: "true"