carla/Docs/bp_library.md

29 KiB
Raw Blame History

Blueprint Library

The Blueprint Library ([`carla.BlueprintLibrary`](../python_api/#carlablueprintlibrary-class)) is a summary of all [`carla.ActorBlueprint`](../python_api/#carla.ActorBlueprint) and its attributes ([`carla.ActorAttribute`](../python_api/#carla.ActorAttribute)) available to the user in CARLA.

Here is an example code for printing all actor blueprints and their attributes:

blueprints = [bp for bp in world.get_blueprint_library().filter('*')]
for blueprint in blueprints:
   print(blueprint.id)
   for attr in blueprint:
       print(attr)

Check out our blueprint tutorial.

walker

  • walker.pedestrian.0001
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0002
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0003
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0004
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0005
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0006
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0007
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0008
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0009
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0010
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0011
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0012
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0013
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable
  • walker.pedestrian.0014
    • Attributes:
      • gender (String)
      • is_invincible (Bool) Modifiable
      • age (String)
      • role_name (String) Modifiable

static

  • static.prop.advertisement
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.atm
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.barbeque
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.barrel
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.bench01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.bench02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.bench03
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.bike helmet
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.bikeparking
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.bin
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.box01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.box02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.box03
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.briefcase
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.brokentile01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.brokentile02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.brokentile03
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.brokentile04
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.busstop
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.chainbarrier
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.chainbarrierend
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.clothcontainer
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.clothesline
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.colacan
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.constructioncone
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.container
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.creasedbox01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.creasedbox02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.creasedbox03
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.dirtdebris01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.dirtdebris02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.dirtdebris03
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.doghouse
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.fountain
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.garbage01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.garbage02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.garbage03
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.garbage04
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.garbage05
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.garbage06
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.gardenlamp
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.glasscontainer
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.gnome
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.guitarcase
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.ironplank
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.kiosk_01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.mailbox
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.maptable
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.mobile
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.motorhelmet
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.pergola
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plantpot01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plantpot02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plantpot03
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plantpot04
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plantpot05
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plantpot06
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plantpot07
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plantpot08
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plasticbag
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plasticchair
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.plastictable
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.platformgarbage01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.purse
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.shop01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.shoppingbag
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.shoppingcart
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.shoppingtrolley
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.slide
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.streetbarrier
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.streetfountain
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.streetsign
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.streetsign01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.streetsign04
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.swing
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.swingcouch
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.table
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trafficcone01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trafficcone02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trafficwarning
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trampoline
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trashbag
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trashcan01
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trashcan02
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trashcan03
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trashcan04
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.trashcan05
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.travelcase
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.vendingmachine
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.prop.wateringcan
    • Attributes:
      • size (String)
      • role_name (String) Modifiable
  • static.trigger.friction
    • Attributes:
      • extent_y (Float) Modifiable
      • extent_z (Float) Modifiable
      • extent_x (Float) Modifiable
      • friction (Float) Modifiable
      • role_name (String) Modifiable

controller

  • controller.ai.walker
    • Attributes:
      • role_name (String) Modifiable

sensor

  • sensor.camera.depth
    • Attributes:
      • fov (Float) Modifiable
      • image_size_y (Int) Modifiable
      • sensor_tick (Float) Modifiable
      • image_size_x (Int) Modifiable
      • role_name (String) Modifiable
  • sensor.camera.rgb
    • Attributes:
      • tint (Float) Modifiable
      • white_clip (Float) Modifiable
      • shoulder (Float) Modifiable
      • toe (Float) Modifiable
      • slope (Float) Modifiable
      • focal_distance (Float) Modifiable
      • calibration_constant (Float) Modifiable
      • exposure_min_bright (Float) Modifiable
      • motion_blur_max_distortion (Float) Modifiable
      • motion_blur_intensity (Float) Modifiable
      • gamma (Float) Modifiable
      • motion_blur_min_object_screen_size (Float) Modifiable
      • enable_postprocess_effects (Bool) Modifiable
      • blur_radius (Float) Modifiable
      • fstop (Float) Modifiable
      • iso (Float) Modifiable
      • shutter_speed (Float) Modifiable
      • exposure_speed_down (Float) Modifiable
      • exposure_compensation (Float) Modifiable
      • min_fstop (Float) Modifiable
      • exposure_speed_up (Float) Modifiable
      • exposure_mode (String) Modifiable
      • blade_count (Int) Modifiable
      • fov (Float) Modifiable
      • temp (Float) Modifiable
      • image_size_x (Int) Modifiable
      • black_clip (Float) Modifiable
      • blur_amount (Float) Modifiable
      • image_size_y (Int) Modifiable
      • sensor_tick (Float) Modifiable
      • exposure_max_bright (Float) Modifiable
      • role_name (String) Modifiable
  • sensor.camera.semantic_segmentation
    • Attributes:
      • fov (Float) Modifiable
      • image_size_y (Int) Modifiable
      • sensor_tick (Float) Modifiable
      • image_size_x (Int) Modifiable
      • role_name (String) Modifiable
  • sensor.lidar.ray_cast
    • Attributes:
      • lower_fov (Float) Modifiable
      • upper_fov (Float) Modifiable
      • rotation_frequency (Float) Modifiable
      • points_per_second (Int) Modifiable
      • range (Float) Modifiable
      • channels (Int) Modifiable
      • sensor_tick (Float) Modifiable
      • role_name (String) Modifiable
  • sensor.other.collision
    • Attributes:
      • role_name (String) Modifiable
  • sensor.other.gnss
    • Attributes:
      • role_name (String) Modifiable
  • sensor.other.lane_invasion
    • Attributes:
      • role_name (String) Modifiable
  • sensor.other.obstacle
    • Attributes:
      • debug_linetrace (Bool) Modifiable
      • hit_radius (Float) Modifiable
      • distance (Float) Modifiable
      • sensor_tick (Float) Modifiable
      • only_dynamics (Bool) Modifiable
      • role_name (String) Modifiable

vehicle

  • vehicle.audi.a2
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.audi.etron
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.audi.tt
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.bh.crossbike
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • driver_id (Int) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.bmw.grandtourer
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.bmw.isetta
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.carlamotors.carlacola
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.chevrolet.impala
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.citroen.c3
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.diamondback.century
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • driver_id (Int) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.dodge_charger.police
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.ford.mustang
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.gazelle.omafiets
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • driver_id (Int) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.harley-davidson.low rider
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • driver_id (Int) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.jeep.wrangler_rubicon
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.kawasaki.ninja
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • driver_id (Int) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.lincoln.mkz2017
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.mercedes-benz.coupe
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.mini.cooperst
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.nissan.micra
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.nissan.patrol
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.seat.leon
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.tesla.model3
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.toyota.prius
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.volkswagen.t2
    • Attributes:
      • number_of_wheels (Int)
      • sticky_control (Bool) Modifiable
      • object_type (String)
      • color (RGBColor) Modifiable
      • role_name (String) Modifiable
  • vehicle.yamaha.yzf
    • Attributes:
      • number_of_wheels (Int)
      • object_type (String)
      • sticky_control (Bool) Modifiable
      • driver_id (Int) Modifiable
      • role_name (String) Modifiable