Skip to content

Commit d351ed3

Browse files
committed
Update multi-agent settings
1 parent 36f3b0f commit d351ed3

File tree

1 file changed

+313
-1
lines changed

1 file changed

+313
-1
lines changed
Lines changed: 313 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,313 @@
1-
{"ID": 0, "SimulationName": "example", "RunLength": 140.0, "Scenario": {"Name": "Navigation", "Options": {"MultiLevel": false, "LevelNames": ["Level1"], "GoalPoint": {"Drone1": {"X": 90.0, "Y": 0.0, "Z": -3.0}, "Drone2": {"X": -25.0, "Y": 50.0, "Z": -3.0}}}}, "Environment": {"Name": "Blocks", "StartingLevelName": "Level1", "StreamVideo": true}, "Data": {"VehicleState": {"Format": "SWARM"}, "Video": {"Format": "MP4", "VideoName": "MinSnapTest"}}, "Agents": {"Drone1": {"Vehicle": "Multirotor", "VehicleOptions": {}, "AutoPilot": "SWARM", "Sensors": {"Cameras": {"Camera1": {"Enabled": true, "PublishPose": false, "X": 0.35, "Y": 0.0, "Z": 0.0, "Roll": 0.0, "Pitch": 0.0, "Yaw": 0.0, "Settings": {"ImageType": "Scene", "Width": 640, "Height": 480, "FOV_Degrees": 90.0, "FramesPerSecond": 24.0}}}}, "Controller": {"Name": "SWARMBase", "Gains": {"P": 0.95, "I": 0.02, "D": 0.05}}, "StartingPosition": {"X": 0.0, "Y": 0.0, "Z": -1.0, "Roll": 0.0, "Pitch": 0.0, "Yaw": 0.0}, "SoftwareModules": {"Mapping": {"Algorithm": {"Parameters": {"Type": "OccupancyMap", "Center": {"X": 0.0, "Y": 0.0, "Z": 0.0}, "Size": {"X": 100, "Y": 100, "Z": 20}, "UpdateRate": 0.0, "ResolutionInMeters": 1.0}, "ClassName": "SWARMOccupancyMap", "Level": 1, "InputArgs": [], "ReturnValues": ["OccupancyMap"]}, "Publishes": ["OccupancyMap"], "Subscribes": []}, "HighLevelPathPlanning": {"Algorithm": {"Level": 3, "States": [], "Parameters": {"goal_point": [90.0, 0.0], "map_size": [100.0, 100.0], "starting_point": [0.0, 0.0], "resolution": 1.0, "agent_radius": 1.5, "flight_altitude": -3.0}, "InputArgs": ["OccupancyMap"], "ClassName": "AStar", "ReturnValues": ["Trajectory"]}, "Publishes": ["Trajectory"], "Subscribes": ["OccupancyMap", "AgentState"]}, "LowLevelPathPlanning": {"Algorithm": {"Level": 1, "States": [], "Parameters": {"default_speed": 1.0, "setpoint_type": "position"}, "InputArgs": ["Trajectory"], "ClassName": "MinSnapTrajectoryPlanner", "ReturnValues": ["Trajectory"]}, "Parameters": {"completed_waypoint_distance": 1.0}, "Publishes": [], "Subscribes": ["AgentState", "Trajectory"]}}}, "Drone2": {"Vehicle": "Multirotor", "VehicleOptions": {}, "AutoPilot": "SWARM", "Sensors": {"Cameras": {"Camera1": {"Enabled": true, "PublishPose": false, "X": 0.35, "Y": 0.0, "Z": 0.0, "Roll": 0.0, "Pitch": 0.0, "Yaw": 0.0, "Settings": {"ImageType": "Scene", "Width": 640, "Height": 480, "FOV_Degrees": 90.0, "FramesPerSecond": 24.0}}}}, "Controller": {"Name": "SWARMBase", "Gains": {"P": 0.95, "I": 0.0, "D": 0.05}}, "StartingPosition": {"X": -2.0, "Y": 2.0, "Z": -1.0, "Roll": 0.0, "Pitch": 0.0, "Yaw": 0.0}, "SoftwareModules": {"Mapping": {"Algorithm": {"Parameters": {"Type": "OccupancyMap", "Center": {"X": 0.0, "Y": 0.0, "Z": 0.0}, "Size": {"X": 100, "Y": 100, "Z": 20}, "UpdateRate": 0.0, "ResolutionInMeters": 1.0}, "ClassName": "SWARMOccupancyMap", "Level": 1, "InputArgs": [], "ReturnValues": ["OccupancyMap"]}, "Publishes": ["OccupancyMap"], "Subscribes": []}, "HighLevelPathPlanning": {"Algorithm": {"Level": 3, "States": [], "Parameters": {"goal_point": [-25.0, 50.0], "map_size": [100.0, 100.0], "starting_point": [0.0, 0.0], "resolution": 1.0, "agent_radius": 1.5, "flight_altitude": -4.0}, "InputArgs": ["OccupancyMap"], "ClassName": "AStar", "ReturnValues": ["Trajectory"]}, "Publishes": ["Trajectory"], "Subscribes": ["OccupancyMap", "AgentState"]}, "LowLevelPathPlanning": {"Algorithm": {"Level": 1, "States": [], "Parameters": {"default_speed": 1.0, "setpoint_type": "position"}, "InputArgs": ["Trajectory"], "ClassName": "MinSnapTrajectoryPlanner", "ReturnValues": ["Trajectory"]}, "Parameters": {"completed_waypoint_distance": 1.0}, "Publishes": [], "Subscribes": ["AgentState", "Trajectory"]}}}}}
1+
{
2+
"ID": 0,
3+
"SimulationName": "example",
4+
"RunLength": 140.0,
5+
"Scenario": {
6+
"Name": "Navigation",
7+
"Options": {
8+
"MultiLevel": false,
9+
"LevelNames": [
10+
"Level1"
11+
],
12+
"GoalPoint": {
13+
"Drone1": {
14+
"X": 45.0,
15+
"Y": 45.0,
16+
"Z": -3.0
17+
},
18+
"Drone2": {
19+
"X": -25.0,
20+
"Y": 50.0,
21+
"Z": -3.0
22+
}
23+
}
24+
}
25+
},
26+
"Environment": {
27+
"Name": "Blocks",
28+
"StartingLevelName": "Level1",
29+
"StreamVideo": true
30+
},
31+
"Data": {
32+
"VehicleState": {
33+
"Format": "SWARM"
34+
},
35+
"Video": {
36+
"Format": "MP4",
37+
"VideoName": "MinSnapTest",
38+
"CameraName": "Camera1"
39+
}
40+
},
41+
"Agents": {
42+
"Drone1": {
43+
"Vehicle": "Multirotor",
44+
"VehicleOptions": {},
45+
"AutoPilot": "SWARM",
46+
"Sensors": {
47+
"Cameras": {
48+
"Camera1": {
49+
"Enabled": true,
50+
"PublishPose": false,
51+
"X": 0.35,
52+
"Y": 0.0,
53+
"Z": 0.0,
54+
"Roll": 0.0,
55+
"Pitch": 0.0,
56+
"Yaw": 0.0,
57+
"Settings": {
58+
"ImageType": "Scene",
59+
"Width": 640,
60+
"Height": 480,
61+
"FOV_Degrees": 90.0,
62+
"FramesPerSecond": 24.0
63+
}
64+
}
65+
}
66+
},
67+
"Controller": {
68+
"Name": "SWARMBase",
69+
"Gains": {
70+
"P": 0.95,
71+
"I": 0.02,
72+
"D": 0.05
73+
}
74+
},
75+
"StartingPosition": {
76+
"X": 0.0,
77+
"Y": 0.0,
78+
"Z": -1.0,
79+
"Roll": 0.0,
80+
"Pitch": 0.0,
81+
"Yaw": 0.0
82+
},
83+
"SoftwareModules": {
84+
"Mapping": {
85+
"Algorithm": {
86+
"Parameters": {
87+
"Type": "OccupancyMap",
88+
"Center": {
89+
"X": 0.0,
90+
"Y": 0.0,
91+
"Z": 0.0
92+
},
93+
"Size": {
94+
"X": 100,
95+
"Y": 100,
96+
"Z": 20
97+
},
98+
"UpdateRate": 0.0,
99+
"ResolutionInMeters": 1.0
100+
},
101+
"ClassName": "SWARMOccupancyMap",
102+
"Level": 1,
103+
"InputArgs": [],
104+
"ReturnValues": [
105+
"OccupancyMap"
106+
]
107+
},
108+
"Publishes": [
109+
"OccupancyMap"
110+
],
111+
"Subscribes": []
112+
},
113+
"HighLevelPathPlanning": {
114+
"Algorithm": {
115+
"Level": 3,
116+
"States": [],
117+
"Parameters": {
118+
"goal_point": [
119+
45.0,
120+
45.0
121+
],
122+
"map_size": [
123+
100.0,
124+
100.0
125+
],
126+
"starting_point": [
127+
0.0,
128+
0.0
129+
],
130+
"resolution": 1.0,
131+
"agent_radius": 1.5,
132+
"flight_altitude": -3.0
133+
},
134+
"InputArgs": [
135+
"OccupancyMap"
136+
],
137+
"ClassName": "AStar",
138+
"ReturnValues": [
139+
"Trajectory"
140+
]
141+
},
142+
"Publishes": [
143+
"Trajectory"
144+
],
145+
"Subscribes": [
146+
"OccupancyMap",
147+
"AgentState"
148+
]
149+
},
150+
"LowLevelPathPlanning": {
151+
"Algorithm": {
152+
"Level": 1,
153+
"States": [],
154+
"Parameters": {
155+
"default_speed": 1.0,
156+
"setpoint_type": "position"
157+
},
158+
"InputArgs": [
159+
"Trajectory"
160+
],
161+
"ClassName": "MinSnapTrajectoryPlanner",
162+
"ReturnValues": [
163+
"Trajectory"
164+
]
165+
},
166+
"Parameters": {
167+
"completed_waypoint_distance": 1.0
168+
},
169+
"Publishes": [],
170+
"Subscribes": [
171+
"AgentState",
172+
"Trajectory"
173+
]
174+
}
175+
}
176+
},
177+
"Drone2": {
178+
"Vehicle": "Multirotor",
179+
"VehicleOptions": {},
180+
"AutoPilot": "SWARM",
181+
"Sensors": {
182+
"Cameras": {
183+
"Camera1": {
184+
"Enabled": true,
185+
"PublishPose": false,
186+
"X": 0.35,
187+
"Y": 0.0,
188+
"Z": 0.0,
189+
"Roll": 0.0,
190+
"Pitch": 0.0,
191+
"Yaw": 0.0,
192+
"Settings": {
193+
"ImageType": "Scene",
194+
"Width": 640,
195+
"Height": 480,
196+
"FOV_Degrees": 90.0,
197+
"FramesPerSecond": 24.0
198+
}
199+
}
200+
}
201+
},
202+
"Controller": {
203+
"Name": "SWARMBase",
204+
"Gains": {
205+
"P": 0.95,
206+
"I": 0.0,
207+
"D": 0.05
208+
}
209+
},
210+
"StartingPosition": {
211+
"X": -2.0,
212+
"Y": 2.0,
213+
"Z": -1.0,
214+
"Roll": 0.0,
215+
"Pitch": 0.0,
216+
"Yaw": 0.0
217+
},
218+
"SoftwareModules": {
219+
"Mapping": {
220+
"Algorithm": {
221+
"Parameters": {
222+
"Type": "OccupancyMap",
223+
"Center": {
224+
"X": 0.0,
225+
"Y": 0.0,
226+
"Z": 0.0
227+
},
228+
"Size": {
229+
"X": 100,
230+
"Y": 100,
231+
"Z": 20
232+
},
233+
"UpdateRate": 0.0,
234+
"ResolutionInMeters": 1.0
235+
},
236+
"ClassName": "SWARMOccupancyMap",
237+
"Level": 1,
238+
"InputArgs": [],
239+
"ReturnValues": [
240+
"OccupancyMap"
241+
]
242+
},
243+
"Publishes": [
244+
"OccupancyMap"
245+
],
246+
"Subscribes": []
247+
},
248+
"HighLevelPathPlanning": {
249+
"Algorithm": {
250+
"Level": 3,
251+
"States": [],
252+
"Parameters": {
253+
"goal_point": [
254+
-25.0,
255+
50.0
256+
],
257+
"map_size": [
258+
100.0,
259+
100.0
260+
],
261+
"starting_point": [
262+
0.0,
263+
0.0
264+
],
265+
"resolution": 1.0,
266+
"agent_radius": 1.5,
267+
"flight_altitude": -4.0
268+
},
269+
"InputArgs": [
270+
"OccupancyMap"
271+
],
272+
"ClassName": "AStar",
273+
"ReturnValues": [
274+
"Trajectory"
275+
]
276+
},
277+
"Publishes": [
278+
"Trajectory"
279+
],
280+
"Subscribes": [
281+
"OccupancyMap",
282+
"AgentState"
283+
]
284+
},
285+
"LowLevelPathPlanning": {
286+
"Algorithm": {
287+
"Level": 1,
288+
"States": [],
289+
"Parameters": {
290+
"default_speed": 1.0,
291+
"setpoint_type": "position"
292+
},
293+
"InputArgs": [
294+
"Trajectory"
295+
],
296+
"ClassName": "MinSnapTrajectoryPlanner",
297+
"ReturnValues": [
298+
"Trajectory"
299+
]
300+
},
301+
"Parameters": {
302+
"completed_waypoint_distance": 1.0
303+
},
304+
"Publishes": [],
305+
"Subscribes": [
306+
"AgentState",
307+
"Trajectory"
308+
]
309+
}
310+
}
311+
}
312+
}
313+
}

0 commit comments

Comments
 (0)