carla/Docs/map_town12.md

9.0 KiB

Town 12

town_12

Town 12 is a Large Map with dimensions of 10x10 km2. It is divided into 36 tiles, most with dimensions of 2x2 km2 (some edge tiles are smaller). The road layout is partially inspired by the road layout of the city of Amarillo in Texas, USA. There are numerous contrasting regions to the city including urban, residential and rural areas, along with a large highway system surrounding the city with a ringroad. The architectural styles reflect those of many medium to large cities across North America.

Navigator

The navigator interactive map can be used to browse the town and derive coordinates to use in the CARLA simulator.

Using the navigator:

  • left mouse button - click and hold, drag left, right, up or down to move the map
  • scroll mouse wheel - scroll down to zoom out, scroll up to zoom in on the location under the mouse pointer
  • double click - double click on a point on the map to record the coordinates, you will find the coordinates in the text and the code block just below the map

Zone color reference:

town12_aerial

CARLA coordinates:

  • X: --
  • Y: --

After double clicking on a point of interest, the navigator will display the corresponding CARLA coordinates and update them in the following code block. Copy and paste the code into a notebook or Python terminal to translate the spectator to the desired location. You will need first to connect the client and set up the world object:

# CARLA coordinates: X 0.0, Y 0.0
spectator = world.get_spectator()
loc = carla.Location(0.0, 0.0, 500.0)
rot = carla.Rotation(pitch=-90, yaw=0.0, roll=0.0)
spectator.set_transform(carla.Transform(loc, rot))

Town 12 zones

High-rise downtown:

Town 12's downtown area is a large span of high-rise skyscrapers arranged into blocks on a consistent grid of roads, resembling downtown areas in many large American and European cities.

high_rise

High density residential:

The high density residential areas of Town 12 have many 2-10 storey apartment buildings with commercial properties like cafes and retail stores at street level.

high_dens_res

Community buildings:

The community buildings are a set of 2-4 storey apartment buildings in a colorful bohemian style with cafes and boutiques on the ground floors, located next to the downtown area of the city.

community

Low density residential:

The low density residential regions of Town 12 reflect the classic suburbs of many American cities, with one and two story homes surrounded by fenced gardens and garages.

low_dens_res

Parks:

The dense residential and downtown areas are broken up by small islands of green communal space, juxtaposing green foliage against urban architecture.

parks

Highways and intersections:

Town 12 has an extensive highway system, including 3-4 lane highways interspersed with impressive roundabout junctions and intersections.

highway

Rural and farmland:

Town 12 also has rural regions with characteristic farmland buildings like wooden barns and farmhouses, windmills, grain silos, corn fields, hay bails and rural fencing. These areas have unmarked country dirt roads and single lane interurban roads for inter-city traffic.

rural

Water:

There are several bodies of water in town 12 including 2 large lakes and several ponds. With some large water features located next to the city, these can produce inverted reflections of the skyline, creating challenges for autonomous driving agents.

water