This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
high.json
115 lines (114 loc) · 2.6 KB
/
high.json
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"resources": [{
"name": "/car/doors/",
"values": [{
"name": "front_left",
"position": "front_left",
"isDoorOpen": "${messages.doors.front_left.open,-1}",
"isWindowOpen": "${messages.windows.front_left.open,-1}"
},
{
"name": "front_right",
"position": "front_right",
"isDoorOpen": "${messages.doors.front_right.open,-1}",
"isWindowOpen": "${messages.windows.front_right.open,-1}"
},
{
"name": "rear_left",
"position": "rear_left",
"isDoorOpen": "${messages.doors.rear_left.open,-1}",
"isWindowOpen": "${messages.windows.rear_left.open,-1}"
},
{
"name": "rear_right",
"position": "rear_right",
"isDoorOpen": "${messages.doors.rear_right.open,-1}",
"isWindowOpen": "${messages.windows.rear_right.open,-1}"
}
]
}, {
"name": "/car/demoboard/",
"values": [{
"name": "vehicleSpeed",
"unit": "km/h",
"speed": "${diagnostic_messages.vehicle.speed,10000}"
}, {
"name": "engineSpeed",
"unit": "rpm",
"rpm": "${diagnostic_messages.engine.speed,10000}"
}, {
"name": "fuelLevel",
"unit": "litre",
"level": "${diagnostic_messages.fuel.level,10000}"
}, {
"name": "engineLoad",
"unit": "Nm",
"load": "${diagnostic_messages.engine.load,10000}"
}]
}],
"definitions": [{
"name": "/car/doors/",
"properties": {
"id": {
"type": "string",
"description": "identifier"
},
"uri": {
"type": "string",
"description": "object uri"
},
"name": {
"type": "string",
"description": "name"
},
"position": {
"type": "string",
"description": "the vehicle door position"
},
"isDoorOpen": {
"type": "boolean",
"description": "the door state; set to 'true' if the door is open"
},
"isWindowOpen": {
"type": "boolean",
"description": "the window state of this door; set to 'true' if window is open; set to JSON-undefined if window state is unknown or invalid"
}
}
}, {
"name": "/car/demoboard/",
"properties": {
"id": {
"type": "string",
"description": "identifier"
},
"uri": {
"type": "string",
"description": "object uri"
},
"name": {
"type": "string",
"description": "name"
},
"unit": {
"type": "string",
"description": "units"
},
"speed": {
"type": "double",
"description": "vehicle centerpoint speed as shown by the instrument cluster"
},
"rpm": {
"type": "double",
"description": "engine rotations per minute"
},
"level": {
"type": "double",
"description": "level of tankage"
},
"load": {
"type": "double",
"description": "engine load"
}
}
}]
}