GATEWAY-EW24
[AGL/meta-agl-demo.git] / recipes-connectivity / vss / vss-agl / bak / agl_vss_overlay.vspec.control-panel
1 # DBC mappings for vehicle and engine speeds
2
3 Vehicle.Speed:
4   datatype: float
5   type: sensor
6   vss2dbc:
7     signal: PT_VehicleAvgSpeed
8
9 Vehicle.Powertrain.CombustionEngine.Speed:
10   datatype: float
11   type: sensor
12   vss2dbc:
13     signal: PT_EngineSpeed
14
15 # DBC mappings for other signals for V2C demo
16
17 Vehicle.OBD.ThrottlePosition:
18   datatype: float
19   type: sensor
20   vss2dbc:
21     signal: ThrottlePosition
22
23 Vehicle.Chassis.SteeringWheel.Angle:
24   datatype: int16
25   type: sensor
26   vss2dbc:
27     signal: SteeringPosition
28     transform:
29       math: "(x + 90) / 0.0439453125"
30
31 Vehicle.Chassis.Brake.PedalPosition:
32   datatype: uint8
33   type: sensor
34   vss2dbc:
35     signal: BrakePressure
36     transform:
37       math: "x * 191.25"
38
39 Vehicle.Powertrain.Transmission.SelectedGear:
40   datatype: int8
41   type: sensor
42   vss2dbc:
43     signal: Gear
44
45 Vehicle.Acceleration.Lateral:
46   datatype: float
47   type: sensor
48   vss2dbc:
49     signal: AccelerationX
50
51 Vehicle.Acceleration.Longitudinal:
52   datatype: float
53   type: sensor
54   vss2dbc:
55     signal: AccelerationY
56
57 Vehicle.Acceleration.Vertical:
58   datatype: float
59   type: sensor
60   vss2dbc:
61     signal: AccelerationZ
62
63 Vehicle.AngularVelocity.Pitch:
64   datatype: float
65   type: sensor
66   vss2dbc:
67     signal: GyroscopeX
68
69 Vehicle.AngularVelocity.Roll:
70   datatype: float
71   type: sensor
72   vss2dbc:
73     signal: GyroscopeY
74
75 Vehicle.AngularVelocity.Yaw:
76   datatype: float
77   type: sensor
78   vss2dbc:
79     signal: GyroscopeZ
80
81 Vehicle.CurrentLocation.Latitude:
82   datatype: double
83   type: sensor
84   vss2dbc:
85     signal: Latitude
86
87 Vehicle.CurrentLocation.Longitude:
88   datatype: double
89   type: sensor
90   vss2dbc:
91     signal: Longitude
92
93
94 #
95 # AGL VSS additions
96 #
97
98 # Extra navigation state signals
99
100 Vehicle.Cabin.Infotainment.Navigation.State:
101   datatype: string
102   type: sensor
103   allowed: [ 'UNKNOWN', 'ACTIVE', 'ARRIVED', 'STOPPED' ]
104   description: Navigation state.
105
106 Vehicle.Cabin.Infotainment.Navigation.ElapsedDistance:
107   datatype: float
108   type: sensor
109   unit: km
110   description: Navigation elapsed distance.
111
112
113 # Extra audio control signals
114
115 Vehicle.Cabin.Infotainment.Media.Audio:
116   type: branch
117   description: Media audio controls.
118
119 Vehicle.Cabin.Infotainment.Media.Audio.Balance:
120   datatype: int8
121   type: actuator
122   min: -100
123   max: 100
124   unit: percent
125   description: Audio left/right balance.
126
127 Vehicle.Cabin.Infotainment.Media.Audio.Fade:
128   datatype: int8
129   type: actuator
130   min: -100
131   max: 100
132   unit: percent
133   description: Audio front/rear balance.
134
135 Vehicle.Cabin.Infotainment.Media.Audio.Bass:
136   datatype: int8
137   type: actuator
138   min: -100
139   max: 100
140   unit: percent
141   description: Audio low-frequency filter control.
142
143 Vehicle.Cabin.Infotainment.Media.Audio.Treble:
144   datatype: int8
145   type: actuator
146   min: -100
147   max: 100
148   unit: percent
149   description: Audio high-frequency filter control.
150
151
152 # Extra steering wheel switch signals, including DBC mappings
153
154 Vehicle.Cabin.SteeringWheel:
155   type: branch
156   description: AGL steering wheel demo data.
157
158 Vehicle.Cabin.SteeringWheel.Switches:
159   type: branch
160   description: AGL steering wheel demo switch data.
161
162 Vehicle.Cabin.SteeringWheel.Switches.VolumeUp:
163   datatype: boolean
164   type: sensor
165   description: Steering wheel volume up switch engaged.
166   dbc2vss:
167     signal: SW_VolumeUp
168     on_change: true
169     transform:
170       mapping:
171         - from: 0
172           to: false
173         - from: 1
174           to: true
175
176 Vehicle.Cabin.SteeringWheel.Switches.VolumeDown:
177   datatype: boolean
178   type: sensor
179   description: Steering wheel volume down switch engaged.
180   dbc2vss:
181     signal: SW_VolumeDown
182     on_change: true
183     transform:
184       mapping:
185         - from: 0
186           to: false
187         - from: 1
188           to: true
189
190 Vehicle.Cabin.SteeringWheel.Switches.VolumeMute:
191   datatype: boolean
192   type: sensor
193   description: Steering wheel volume mute switch engaged.
194   dbc2vss:
195     signal: SW_VolumeMute
196     on_change: true
197     transform:
198       mapping:
199         - from: 0
200           to: false
201         - from: 1
202           to: true
203
204 Vehicle.Cabin.SteeringWheel.Switches.Next:
205   datatype: boolean
206   type: sensor
207   description: Steering wheel next switch engaged.
208   dbc2vss:
209     signal: SW_Next
210     on_change: true
211     transform:
212       mapping:
213         - from: 0
214           to: false
215         - from: 1
216           to: true
217
218 Vehicle.Cabin.SteeringWheel.Switches.Previous:
219   datatype: boolean
220   type: sensor
221   description: Steering wheel previous switch engaged.
222   dbc2vss:
223     signal: SW_Previous
224     on_change: true
225     transform:
226       mapping:
227         - from: 0
228           to: false
229         - from: 1
230           to: true
231
232 Vehicle.Cabin.SteeringWheel.Switches.Mode:
233   datatype: boolean
234   type: sensor
235   description: Steering wheel mode switch engaged.
236   dbc2vss:
237     signal: SW_Mode
238     on_change: true
239     transform:
240       mapping:
241         - from: 0
242           to: false
243         - from: 1
244           to: true
245
246 Vehicle.Cabin.SteeringWheel.Switches.Info:
247   datatype: boolean
248   type: sensor
249   description: Steering wheel info switch engaged.
250   dbc2vss:
251     signal: SW_Info
252     on_change: true
253     transform:
254       mapping:
255         - from: 0
256           to: false
257         - from: 1
258           to: true
259
260 Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable:
261   datatype: boolean
262   type: sensor
263   description: Steering wheel cruise enable switch engaged.
264   dbc2vss:
265     signal: SW_CruiseEnable
266     on_change: true
267     transform:
268       mapping:
269         - from: 0
270           to: false
271         - from: 1
272           to: true
273
274 Vehicle.Cabin.SteeringWheel.Switches.CruiseSet:
275   datatype: boolean
276   type: sensor
277   description: Steering wheel cruise set switch engaged.
278   dbc2vss:
279     signal: SW_CruiseSet
280     on_change: true
281     transform:
282       mapping:
283         - from: 0
284           to: false
285         - from: 1
286           to: true
287
288 Vehicle.Cabin.SteeringWheel.Switches.CruiseResume:
289   datatype: boolean
290   type: sensor
291   description: Steering wheel cruise resume switch engaged.
292   dbc2vss:
293     signal: SW_CruiseResume
294     on_change: true
295     transform:
296       mapping:
297         - from: 0
298           to: false
299         - from: 1
300           to: true
301
302 Vehicle.Cabin.SteeringWheel.Switches.CruiseCancel:
303   datatype: boolean
304   type: sensor
305   description: Steering wheel cruise cancel switch engaged.
306   dbc2vss:
307     signal: SW_CruiseCancel
308     on_change: true
309     transform:
310       mapping:
311         - from: 0
312           to: false
313         - from: 1
314           to: true
315
316 Vehicle.Cabin.SteeringWheel.Switches.CruiseLimit:
317   datatype: boolean
318   type: sensor
319   description: Steering wheel cruise limit switch engaged.
320   dbc2vss:
321     signal: SW_CruiseLimit
322     on_change: true
323     transform:
324       mapping:
325         - from: 0
326           to: false
327         - from: 1
328           to: true
329
330 Vehicle.Cabin.SteeringWheel.Switches.CruiseDistance:
331   datatype: boolean
332   type: sensor
333   description: Steering wheel cruise distance switch engaged.
334   dbc2vss:
335     signal: SW_CruiseDistance
336     on_change: true
337     transform:
338       mapping:
339         - from: 0
340           to: false
341         - from: 1
342           to: true
343
344 Vehicle.Cabin.SteeringWheel.Switches.Voice:
345   datatype: boolean
346   type: sensor
347   description: Steering wheel voice switch engaged.
348   dbc2vss:
349     signal: SW_Voice
350     on_change: true
351     transform:
352       mapping:
353         - from: 0
354           to: false
355         - from: 1
356           to: true
357
358 Vehicle.Cabin.SteeringWheel.Switches.PhoneCall:
359   datatype: boolean
360   type: sensor
361   description: Steering wheel phone call switch engaged.
362   dbc2vss:
363     signal: SW_PhoneCall
364     on_change: true
365     transform:
366       mapping:
367         - from: 0
368           to: false
369         - from: 1
370           to: true
371
372 Vehicle.Cabin.SteeringWheel.Switches.PhoneHangup:
373   datatype: boolean
374   type: sensor
375   description: Steering wheel phone hangup switch engaged.
376   dbc2vss:
377     signal: SW_PhoneHangup
378     on_change: true
379     transform:
380       mapping:
381         - from: 0
382           to: false
383         - from: 1
384           to: true
385
386 Vehicle.Cabin.SteeringWheel.Switches.Horn:
387   datatype: boolean
388   type: sensor
389   description: Steering wheel horn switch engaged.
390   dbc2vss:
391     signal: SW_Horn
392     on_change: true
393     transform:
394       mapping:
395         - from: 0
396           to: false
397         - from: 1
398           to: true
399
400 Vehicle.Cabin.SteeringWheel.Switches.LaneDepartureWarning:
401   datatype: boolean
402   type: sensor
403   description: Steering wheel lane departure warning switch engaged.
404   dbc2vss:
405     signal: SW_LaneDepartureWarning
406     on_change: true
407     transform:
408       mapping:
409         - from: 0
410           to: false
411         - from: 1
412           to: true