US City Block
US city blockUnreal Engineenvironment
Description
的US City Blockscene is an Unreal Engine®我们城市的环境包含15块tersections and 30 traffic lights. The scene is rendered using the Unreal Engine from Epic Games®.
To simulate a UAV flight in this scene:
Add aSimulation 3D Scene Configurationblock to your Simulink®model.
In this block, set theScene sourceparameter to
Default Scenes
.Set the enabledScene nameparameter to
US city block
.
Intersections
的US city block scene has 15 intersections, as indicated in this diagram.
This table provides the intersection locations in the world coordinate system. Dimensions are in m.
Intersection | Center Location | ||
---|---|---|---|
X (m) |
Y (m) |
Z (m) |
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
Barrier
This table provides the object names and locations in the world coordinate system. Dimensions are in m.
Object | Unreal Engine Editor Name |
Location |
|||||
---|---|---|---|---|---|---|---|
X |
Y |
Z |
Roll |
Pitch |
Yaw |
||
Barrier |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Traffic Lights
的US City Scene contains 30 traffic lights, two at each of the 15 intersections. Each intersection has a traffic light group. If you have theCustomize Unreal Engine Scenes for UAVsfor customizing scenes, you can control the timing of the traffic lights.
This table provides the traffic light names and locations in the world coordinate system. Dimensions are in m. Only one of the traffic lights in the group can be green at a time. The traffic lights are green for 10 s and yellow for 3 s. At the start of the simulation, the first traffic lights in the group are green (for example,SM_TrafficLights1_3
andSM_TrafficLights2_4
). The second lights in the group are red (for example,SM_TrafficLights1_4
andSM_TrafficLights2_3
).
Intersection | Unreal Engine Editor Name |
Location |
||||||
---|---|---|---|---|---|---|---|---|
Traffic Light Group | Traffic Light | X |
Y |
Z |
Roll |
Pitch |
Yaw |
|
1 |
|
|
-196.55 |
-100.65 |
0 |
|
|
|
|
-210.20 |
-113.40 |
0 |
|
|
|
||
2 |
|
|
-120.40 |
-113.50 |
0 |
|
|
|
|
-106.35 |
98.35 |
0 |
|
|
|
||
3 |
|
|
-13.10 |
-116.20 |
0.2 |
|
|
|
|
-30.60 |
-113.80 |
0 |
|
|
|
||
4 |
|
|
64.80 |
-113.0 |
0 |
|
|
|
|
71.40 |
-100.30 |
0 |
|
|
|
||
5 |
|
|
171.50 |
-115.70 |
0 |
|
|
|
|
157.40 |
-113.50 |
0 |
|
|
|
||
6 |
|
|
-189.60 |
7.40 |
0 |
|
|
|
|
-177.30 |
5.70 |
0 |
|
|
|
||
7 |
|
|
-117.80 |
7.70 |
0.2 |
|
|
|
|
-105.20 |
5.50 |
0 |
|
|
|
||
8 |
|
|
-10.90 |
5.60 |
0 |
|
|
|
|
-13.10 |
-7.60 |
0.1 |
|
|
|
||
9 |
|
|
70.90 |
9.20 |
0 |
|
|
|
|
85.90 |
7.60 |
0.2 |
|
|
|
||
10 |
|
|
173.70 |
7.50 |
0 |
|
|
|
|
172.10 |
-7.70 |
0 |
|
|
|
||
11 |
|
|
-189.80 |
118.45 |
0 |
|
|
|
|
-191.05 |
104.55 |
0 |
|
|
|
||
12 |
|
|
-120.50 |
105.40 |
0 |
|
|
|
|
-117.60 |
117.60 |
0 |
|
|
|
||
13 |
|
|
-12.80 |
102.50 |
0 |
|
|
|
|
-30.50 |
105.30 |
0 |
|
|
|
||
14 |
|
|
69.30 |
105.30 |
0 |
|
|
|
|
70.90 |
118.70 |
0 |
|
|
|
||
15 |
|
|
171.40 |
105.20 |
0 |
|
|
|
|
158.40 |
107.20 |
0 |
|
|
|
Tips
If you have theUAV Toolbox Interface for Unreal Engine Projectssupport package, then you can modify this scene. In the Unreal Engine project file that comes with the support package, this scene is named
USCityBlock
.For more details on customizing scenes, seeCustomize Unreal Engine Scenes for UAVs.