added map guides towns 1-7
|
@ -14,22 +14,22 @@ The CARLA simulator provides 10 pre-built maps to choose from, providing a diver
|
|||
|
||||
| Town | Summary |
|
||||
| -----------| ------ |
|
||||
| **[Town01](img/Town01.jpg)** | A basic town layout consisting of "T junctions".|
|
||||
| **[Town02](img/Town02.jpg)** | Similar to **Town01**, but smaller.|
|
||||
| **[Town03](img/Town03.jpg)** | The most complex town, with a 5-lane junction, a roundabout, unevenness, a tunnel, and more.|
|
||||
| **[Town04](img/Town04.jpg)** | An infinite loop with a highway and a small town.|
|
||||
| **[Town05](img/Town05.jpg)** | Squared-grid town with cross junctions and a bridge. It has multiple lanes per direction. Useful to perform lane changes. |
|
||||
| **[Town06](img/Town06.jpg)** | Long highways with many highway entrances and exits. It also has a [**Michigan left**](<https://en.wikipedia.org/wiki/Michigan_left>). |
|
||||
| **[Town07](img/Town07.jpg)** | A rural environment with narrow roads, barns and hardly any traffic lights. |
|
||||
| [__Town01__](map_town01.md) | A small, simple town with a river and several bridges.|
|
||||
| [__Town02__](map_town02.md) | A small simple town with a mixture of residential and commercial buildings.|
|
||||
| [__Town03__](map_town03.md) | A larger, urban map with a roundabout and large junctions.|
|
||||
| [__Town04__](map_town04.md) | A small town embedded in the mountains with a special "figure of 8" *infinite* highway.|
|
||||
| [__Town05__](map_town05.md) | Squared-grid town with cross junctions and a bridge. It has multiple lanes per direction. Useful to perform lane changes. |
|
||||
| [__Town06__](map_town06.md) | Long many lane highways with many highway entrances and exits. It also has a [**Michigan left**](<https://en.wikipedia.org/wiki/Michigan_left>). |
|
||||
| [__Town07__](map_town07.md) | A rural environment with narrow roads, corn, barns and hardly any traffic lights. |
|
||||
| **Town08** | Secret "unseen" town used for the [Leaderboard](https://leaderboard.carla.org/) challenge |
|
||||
| **Town09** | Secret "unseen" town used for the [Leaderboard](https://leaderboard.carla.org/) challenge |
|
||||
| [__Town10__](map_town10.md) | A downtown urban setting with skyscrapers, residential buildings and an ocean promenade.|
|
||||
| [__Town10__](map_town10.md) | A downtown urban environment with skyscrapers, residential buildings and an ocean promenade.|
|
||||
| __Town11__ | A Large Map that is undecorated.|
|
||||
| [__Town12__](map_town12.md) | A Large Map with numerous different regions, including high-rise, residential and rural environments.|
|
||||
|
||||
## Vehicles
|
||||
|
||||
CARLA provides a diverse array of vehicles, with high fidelity models of real world cars, trucks and bikes, for simulating traffic in your simulations. Browse and choose the vehicles you like in the [__vehicle catalogue__](catalogue_vehicles.md).
|
||||
CARLA provides a diverse array of vehicles, with high fidelity models of real world cars, trucks and bikes, for replicating traffic in your simulations. Browse and choose the vehicles you like in the [__vehicle catalogue__](catalogue_vehicles.md).
|
||||
|
||||

|
||||
|
||||
|
|
|
@ -244,14 +244,16 @@ Non-layered maps are shown in the table below (click the town name to see an ove
|
|||
|
||||
| Town | Summary |
|
||||
| -----------| ------ |
|
||||
| **[Town01](img/Town01.jpg)** | A basic town layout consisting of "T junctions".|
|
||||
| **[Town02](img/Town02.jpg)** | Similar to **Town01**, but smaller.|
|
||||
| **[Town03](img/Town03.jpg)** | The most complex town, with a 5-lane junction, a roundabout, unevenness, a tunnel, and more.|
|
||||
| **[Town04](img/Town04.jpg)** | An infinite loop with a highway and a small town.|
|
||||
| **[Town05](img/Town05.jpg)** | Squared-grid town with cross junctions and a bridge. It has multiple lanes per direction. Useful to perform lane changes. |
|
||||
| **[Town06](img/Town06.jpg)** | Long highways with many highway entrances and exits. It also has a [**Michigan left**](<https://en.wikipedia.org/wiki/Michigan_left>). |
|
||||
| **[Town07](img/Town07.jpg)** | A rural environment with narrow roads, barns and hardly any traffic lights. |
|
||||
| **[Town10](img/Town10.jpg)** | A city environment with different environments such as an avenue or promenade, and more realistic textures.|
|
||||
| [__Town01__](map_town01.md) | A small, simple town with a river and several bridges.|
|
||||
| [__Town02__](map_town02.md) | A small simple town with a mixture of residential and commercial buildings.|
|
||||
| [__Town03__](map_town03.md) | A larger, urban map with a roundabout and large junctions.|
|
||||
| [__Town04__](map_town04.md) | A small town embedded in the mountains with a special "figure of 8" *infinite* highway.|
|
||||
| [__Town05__](map_town05.md) | Squared-grid town with cross junctions and a bridge. It has multiple lanes per direction. Useful to perform lane changes. |
|
||||
| [__Town06__](map_town06.md) | Long many lane highways with many highway entrances and exits. It also has a [**Michigan left**](<https://en.wikipedia.org/wiki/Michigan_left>). |
|
||||
| [__Town07__](map_town07.md) | A rural environment with narrow roads, corn, barns and hardly any traffic lights. |
|
||||
| **Town08** | Secret "unseen" town used for the [Leaderboard](https://leaderboard.carla.org/) challenge |
|
||||
| **Town09** | Secret "unseen" town used for the [Leaderboard](https://leaderboard.carla.org/) challenge |
|
||||
| [__Town10__](map_town10.md) | A downtown urban environment with skyscrapers, residential buildings and an ocean promenade.|
|
||||
| __Town11__ | A Large Map that is undecorated.|
|
||||
| [__Town12__](map_town12.md) | A Large Map with numerous different regions, including high-rise, residential and rural environments.|
|
||||
|
||||
|
|
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 110 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 208 KiB |
After Width: | Height: | Size: 134 KiB |
After Width: | Height: | Size: 184 KiB |
After Width: | Height: | Size: 165 KiB |
After Width: | Height: | Size: 147 KiB |
After Width: | Height: | Size: 176 KiB |
After Width: | Height: | Size: 223 KiB |
After Width: | Height: | Size: 1.5 MiB |
After Width: | Height: | Size: 125 KiB |
After Width: | Height: | Size: 1.0 MiB |
After Width: | Height: | Size: 172 KiB |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 222 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 169 KiB |
After Width: | Height: | Size: 216 KiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 278 KiB |
After Width: | Height: | Size: 151 KiB |
After Width: | Height: | Size: 194 KiB |
After Width: | Height: | Size: 211 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 195 KiB |
After Width: | Height: | Size: 191 KiB |
After Width: | Height: | Size: 2.4 MiB |
After Width: | Height: | Size: 2.5 MiB |
After Width: | Height: | Size: 2.8 MiB |
After Width: | Height: | Size: 218 KiB |
After Width: | Height: | Size: 184 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 2.7 MiB |
After Width: | Height: | Size: 164 KiB |
After Width: | Height: | Size: 572 KiB |
After Width: | Height: | Size: 247 KiB |
|
@ -0,0 +1,26 @@
|
|||
# Town 1
|
||||
|
||||

|
||||
|
||||
Town 1 is a small town with numerous T-junctions and a variety of buildings, surrounded by coniferous trees and featuring several small bridges spanning across a river that divides the town into 2 halves.
|
||||
|
||||
## Road network
|
||||
|
||||
The road network presents several bridges crossing water and numerous simple T junctions.
|
||||
|
||||

|
||||
|
||||
## Features
|
||||
|
||||
The map features a small river with several crossings.
|
||||
|
||||

|
||||
|
||||
|
||||
There are numerous commercial style buildings.
|
||||
|
||||

|
||||
|
||||
There are also residential buildings.
|
||||
|
||||

|
|
@ -0,0 +1,30 @@
|
|||
# Town 2
|
||||
|
||||

|
||||
|
||||
Town 2 is a small town with numerous T-junctions and a variety of buildings, there are patches of coniferous trees, a park and a residential and commercial area.
|
||||
|
||||
## Road network
|
||||
|
||||
The road network consists of numerous simple T junctions.
|
||||
|
||||

|
||||
|
||||
## Features
|
||||
|
||||
The map features a commercial area and high street.
|
||||
|
||||

|
||||
|
||||
|
||||
There are also residential apartment buildings and a church.
|
||||
|
||||

|
||||
|
||||
There is a gas station.
|
||||
|
||||

|
||||
|
||||
There are also tree-lined roads.
|
||||
|
||||

|
|
@ -0,0 +1,33 @@
|
|||
# Town 3
|
||||
|
||||

|
||||
|
||||
Town 3 is a larger town with features of a downtown urban area, including a raised metro track, a roundabout, a construction site and underpasses and overpasses.
|
||||
|
||||
## Road network
|
||||
|
||||
The road network features a central roundabout and a residential culdesac, along with numerous 4-way junctions and T-junctions.
|
||||
|
||||

|
||||
|
||||
## Features
|
||||
|
||||
The map features prominent central roundabout with a modernist monument and water.
|
||||
|
||||

|
||||
|
||||
There is a raised metro track surrounding the center.
|
||||
|
||||

|
||||
|
||||
There is also a gas station next to a large junction.
|
||||
|
||||

|
||||
|
||||
The road network features an underpass.
|
||||
|
||||

|
||||
|
||||
There are parks and a variety of commercial and residential buildings in varying styles.
|
||||
|
||||

|
|
@ -0,0 +1,29 @@
|
|||
# Town 4
|
||||
|
||||

|
||||
|
||||
Town 4 is a small town with a backdrop of snow-capped mountains and conifers. A multi-lane road circumnavigates the town in a "figure of 8".
|
||||
|
||||
## Road network
|
||||
|
||||
The road network consists of a small network of short streets and junctions nested in between commercial and residential buildings, with a "figure of 8" style ringroad circumnavigating the buildings and a nearby mountain. The cross of the figure of 8 presents an underpass/overpass and circular slip roads.
|
||||
|
||||

|
||||
|
||||
The network also features an underpass and overpass with circular slip roads.
|
||||
|
||||

|
||||
|
||||
## Features
|
||||
|
||||
There is a gas station set against the mountainous backdrop.
|
||||
|
||||

|
||||
|
||||
In the middle of the town is a pedestrian shopping arcade with outdoor seating.
|
||||
|
||||

|
||||
|
||||
There are various styles of residential and commercial buildings and streets including trees and billboards.
|
||||
|
||||

|
|
@ -0,0 +1,33 @@
|
|||
# Town 5
|
||||
|
||||

|
||||
|
||||
Town 5 is an urban environment set into a backdrop of conifer-covered hills with a raised highway and large multilane roads and junctions.
|
||||
|
||||
## Road network
|
||||
|
||||
The roads consist of numerous dual-lane urban roads intersecting at numerous large junctions.
|
||||
|
||||

|
||||
|
||||
Junctions on each side of the town allow access to a raised highway that serves as a ringroad.
|
||||
|
||||

|
||||
|
||||
## Features
|
||||
|
||||
The town features numerous commercial buildings.
|
||||
|
||||

|
||||
|
||||
In the middle of the town there is also a building under construction.
|
||||
|
||||

|
||||
|
||||
The middle of the town has a car park.
|
||||
|
||||

|
||||
|
||||
In the middle of the town, the road extends under a commercial building.
|
||||
|
||||

|
|
@ -0,0 +1,21 @@
|
|||
# Town 6
|
||||
|
||||

|
||||
|
||||
Town 6 is a low density town set into a coniferous landscape exhibiting a multitude of large, 4-6 lane roads and special junctions like the [Michigan Left](https://en.wikipedia.org/wiki/Michigan_left).
|
||||
|
||||
**Town 6 is part of the additional maps package that should be [downloaded with the CARLA package](https://github.com/carla-simulator/carla/releases). Move the downloaded ZIP file into the *Import* folder of the extracted CARLA package then run the *ImportAssets* script.**
|
||||
|
||||
## Road network
|
||||
|
||||
The road network exhibits 4 large parallel roads with 4 to 6 lanes, interconnected by several sliproads and junctions .
|
||||
|
||||

|
||||
|
||||
Town 6's numerous sliproad junctions include the Michigan Left.
|
||||
|
||||

|
||||
|
||||
Numerous road scenarios are represented including 5 lane roads, culdesacs and designated turning lanes.
|
||||
|
||||

|
|
@ -0,0 +1,31 @@
|
|||
# Town 7
|
||||
|
||||

|
||||
|
||||
Town 7 imitates a quiet rural community, a green landscape filled with cornfields, barns, grain silos and windmills.
|
||||
|
||||
**Town 7 is part of the additional maps package that should be [downloaded with the CARLA package](https://github.com/carla-simulator/carla/releases). Move the downloaded ZIP file into the *Import* folder of the extracted CARLA package then run the *ImportAssets* script.**
|
||||
|
||||
## Road network
|
||||
|
||||
The road network is small and contains a simple set of junctions and unmarked roads with a couple of residential parking streets.
|
||||
|
||||

|
||||
|
||||
## Features
|
||||
|
||||
The buildings include wooden barns and farm buildings.
|
||||
|
||||

|
||||
|
||||
There are some structures expected only in rural farming environments like grain silos and windmills.
|
||||
|
||||

|
||||
|
||||
There is also a small body of water spanned by a short road bridge.
|
||||
|
||||

|
||||
|
||||
The some of the roads are lined by corn fields.
|
||||
|
||||

|
|
@ -12,6 +12,8 @@ In this tutorial, we will cover a standard workflow in CARLA, from launching the
|
|||
* [__Adding NPCs__](#adding-npcs)
|
||||
* [__Add sensors__](#add-sensors)
|
||||
* [__Animate vehicles__](#animate-vehicles-with-traffic-manager)
|
||||
* [__Choose your map__](#choose-your-map)
|
||||
* [__Choose your vehicles__](#choose-your-vehicles)
|
||||
|
||||
|
||||
## Launching CARLA and connecting the client
|
||||
|
@ -173,3 +175,71 @@ for vehicle in world.get_actors().filter('*vehicle*'):
|
|||
Now your simulation is running, with numerous vehicles driving around the map and a camera recording data from one of those vehicles. This data can then be used to feed a machine learning algorithm for training an autonomous driving agent. The Traffic manager has many functions for customising traffic behaviour, learn more [__here__](tuto_G_traffic_manager.md).
|
||||
|
||||
This is the most basic possible set up for a simulation, now you can go into further details deeper into documentation about the many extra sensors you can use to generate data, and the many other features of CARLA that can make your simulations more detailed and more realistic.
|
||||
|
||||
---
|
||||
|
||||
## Assign a vehicle as the Ego Vehicle
|
||||
|
||||
The __Ego Vehicle__ is an important concept to bear in mind when using CARLA. The Ego Vehicle refers to the vehicle that will be the focus of the simulation. In most CARLA use cases it's likely to be the vehicle to which you will attach your sensors and/or the vehicle that your autonomous driving machine learning stack will control. It is important because it serves as the basis for some simulation operations that help improve the efficiency of the simulation, like for example:
|
||||
|
||||
* __Loading map tiles for Large Maps__: Large Maps (like Town 12) are made up of tiles to that are only loaded when needed to improve CARLA performance. The position of the Ego Vehicle dictates which tiles are used. Only the tiles nearest the Ego Vehicle will be loaded.
|
||||
|
||||
* __Hybrid Physics Mode__: if your simulation contains a lot of vehicles controlled by the Traffic Manager, calculating physics for all of these vehicles is very computationally expensive. The [Hybrid Physics Mode](adv_traffic_manager.md#hybrid-physics-mode) enables physics calculation to be limited to the vehicles in the vicinity of the Ego Vehicle, hence saving computing resources.
|
||||
|
||||
To define the Ego Vehicle, you should set the `role_name` attribute of the vehicle [carla.Actor](python_api.md#carlaactor) object's [blueprint](python_api.md#carlaactorblueprint) when you are spawning your Ego Vehicle:
|
||||
|
||||
```py
|
||||
|
||||
ego_bp = world.get_blueprint_library().find('vehicle.lincoln.mkz_2020')
|
||||
|
||||
ego_bp.set_attribute('role_name', 'hero')
|
||||
|
||||
ego_vehicle = world.spawn_actor(ego_bp, random.choice(spawn_points))
|
||||
|
||||
```
|
||||
---
|
||||
## Choose your map
|
||||
|
||||
CARLA comes loaded with several pre-made maps focused on providing a diversity of features. The maps present a divers range of environments such as urban, rural and residential. There are also differing architectural styles and also a multitude of different road layouts from unmarked rural roads to multi-lane highways. Browse the map guides in the [catalogue](catalogue.md) or in the table below.
|
||||
|
||||
| Town | Summary |
|
||||
| -----------| ------ |
|
||||
| [__Town01__](map_town01.md) | A small, simple town with a river and several bridges.|
|
||||
| [__Town02__](map_town02.md) | A small simple town with a mixture of residential and commercial buildings.|
|
||||
| [__Town03__](map_town03.md) | A larger, urban map with a roundabout and large junctions.|
|
||||
| [__Town04__](map_town04.md) | A small town embedded in the mountains with a special "figure of 8" *infinite* highway.|
|
||||
| [__Town05__](map_town05.md) | Squared-grid town with cross junctions and a bridge. It has multiple lanes per direction. Useful to perform lane changes. |
|
||||
| [__Town06__](map_town06.md) | Long many lane highways with many highway entrances and exits. It also has a [**Michigan left**](<https://en.wikipedia.org/wiki/Michigan_left>). |
|
||||
| [__Town07__](map_town07.md) | A rural environment with narrow roads, corn, barns and hardly any traffic lights. |
|
||||
| **Town08** | Secret "unseen" town used for the [Leaderboard](https://leaderboard.carla.org/) challenge |
|
||||
| **Town09** | Secret "unseen" town used for the [Leaderboard](https://leaderboard.carla.org/) challenge |
|
||||
| [__Town10__](map_town10.md) | A downtown urban environment with skyscrapers, residential buildings and an ocean promenade.|
|
||||
| __Town11__ | A Large Map that is undecorated.|
|
||||
| [__Town12__](map_town12.md) | A Large Map with numerous different regions, including high-rise, residential and rural environments.|
|
||||
|
||||
You can browse the available maps in your CARLA installation like so:
|
||||
|
||||
```py
|
||||
client.get_available_maps()
|
||||
```
|
||||
|
||||
This will include maps that you have built yourself or imported.
|
||||
|
||||
When you choose a map, load it like so:
|
||||
|
||||
```py
|
||||
client.load_world('Town03_Opt')
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Choose your vehicles
|
||||
|
||||
CARLA provides a library of vehicles to fill your simulation with traffic. Browse the vehicle models in the [CARLA vehicle catalogue](catalogue_vehicles.md).
|
||||
|
||||
You can see all available blueprints by filtering the blueprint library for vehicles.
|
||||
|
||||
```py
|
||||
for bp in world.get_blueprint_library().filter('vehicle'):
|
||||
print(bp.id)
|
||||
```
|