-
Notifications
You must be signed in to change notification settings - Fork 1
/
trucks.json.template
66 lines (63 loc) · 2.21 KB
/
trucks.json.template
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
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// WHEN DUPLICATING THIS TO INITIALIZE YOURS, DO NOT FORGET TO REMOVE THE COMMENTS //
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{
"name": "Trucks",
"simulationLabel": "virtual-trucks",
"fleet": {
"size": 1,
"template": {
"namePrefix": "VTruck #",
// optional: randomly picked for each system,
// will be used to retrieve a reference firmware if any
// otherwise, pick one from the "firmware" list if any
"systemType": ["AR7552", "AR6220"],
// optional: if no reference firmware has been found pick one from this list
"firmware":["524f332fc46c46b2b92a8cd60acc7156", "6bd26c89baad4deb963b2ac2cc220e1a"],
// optional: randomly picked for each system subscriptions
"subscription": {
"operators": ["ATT", "Bouygues"]
}
}
},
"generation": {
"mode": "backToTheFuture",
"backToTheFuture": {
"nbDaysInPast": 1,
"valuesPerDay": 10
},
"data": {
"truck.speed": {
"generator": "randomFloat",
"options": {
"min": 0,
"max": 100,
"fixed": 2
}
},
"truck.fuelLevel": {
"generator": "incremental",
"options": {
"start": 90,
"step": -1
}
}
}
},
"application": {
"name": "Virtual Trucks",
"data": [{
"id": "truck.speed",
"label": "Truck speed (Km/h)",
"description": "Current truck speed",
"elementType": "variable",
"type": "double"
}, {
"id": "truck.fuelLevel",
"label": "Truck fuel level (L)",
"description": "Current truck fuel level",
"elementType": "variable",
"type": "double"
}]
}
}