-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimulation_demo.json
122 lines (122 loc) · 2.67 KB
/
simulation_demo.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
116
117
118
119
120
121
122
{
"domains":[
{
"name":"test_a",
"background":"Maps_with_obstacles/Corridor_unidirectional/a4.png",
"px":0.01,
"width":null,
"height":null,
"wall_colors":[ [0,0,0] ],
"shape_lines":[
{
"xx" : [11.30, 11.30],
"yy" : [1.30, 2.30],
"linewidth" : 10,
"outline_color": [255,0,0],
"fill_color" : [255,0,0]
},
{
"xx": [0.19, 0.19],
"yy": [1.14, 2.14],
"linewidth": 10,
"outline_color": [255,0,255],
"fill_color": [255,0,255]
}
],
"shape_circles":[
],
"shape_ellipses":[
],
"shape_rectangles":[
],
"shape_polygons":[
],
"destinations":[
{
"name": "door",
"colors": [ [255,0,0] ],
"excluded_colors":[ [0,0,0] ],
"desired_velocity_from_color":[],
"velocity_scale": 1,
"next_destination": null,
"next_domain": null,
"next_transit_box":null
},
{
"name": "fake_door",
"colors": [ [255,0,255] ],
"excluded_colors":[ [0,0,0] ],
"desired_velocity_from_color":[],
"velocity_scale": 1,
"next_destination": null,
"next_domain": null,
"next_transit_box":null
}
]
}
],
"people_init":[
{
"domain": "test_a",
"groups": [
{
"nb": 15,
"radius_distribution": ["uniform",0.185,0.215],
"velocity_distribution": ["normal",1.6,0.3],
"box": [1, 2.5, 0.33, 3],
"destination": "door"
}
]
}
],
"new_groups":[
{
"nb": 5,
"radius_distribution": ["uniform",0.185,0.215],
"velocity_distribution": ["normal",1.6, 0.3],
"box": [0.27, 1,0.63, 3],
"destination": "door"
}
],
"sensors":[
{
"name": "sensor1",
"domain": "test_a",
"line": [21.18,16.53,18.59,15.62]
},
{
"name": "sensor2",
"domain": "test_a",
"line": [13.28,20.88,11.32,21.94]
}
],
"prefix":"results/",
"seed":40,
"with_graphes": true,
"Tf":25,
"dt":0.005,
"drawper":50,
"mass":80.0,
"tau":0.5,
"F":2000.0,
"kappa":120000.0,
"delta":0.8,
"Fwall":2000.0,
"lambda":0.5,
"eta":240000.0,
"projection_method": "cvxopt",
"dmax":0.1,
"dmin_people":0.0,
"dmin_walls":0.0,
"plot_people":true,
"plot_contacts":false,
"plot_desired_velocities":false,
"plot_velocities":false,
"plot_paths":false,
"plot_sensors":false,
"addper":4.0,
"slowdown": 0.2,
"sd_period": 3,
"n_slowdown": 4,
"slow_per": 5.0
}