blob: f8a561d27ed4fe58604254cb7840c7de957c9cfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
# 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"
|