carla/Docs/Example.CarlaSettings.ini

117 lines
4.1 KiB
INI
Raw Normal View History

2017-03-31 23:54:06 +08:00
; Example of settings file for CARLA.
2018-01-24 19:33:54 +08:00
;
2018-02-20 02:14:16 +08:00
; This file can be loaded with the Python client to be sent to the server. It
; defines the parameters to be used when requesting a new episode.
;
2018-03-22 17:47:33 +08:00
; Note that server specific variables are only loaded when launching the
; simulator. Use it with `./CarlaUE4.sh -carla-settings=Path/To/This/File`.
2017-03-31 23:54:06 +08:00
[CARLA/Server]
2017-10-24 23:07:23 +08:00
; If set to false, a mock controller will be used instead of waiting for a real
2018-02-20 02:14:16 +08:00
; client to connect. (Server only)
UseNetworking=false
; Ports to use for the server-client communication. This can be overridden by
; the command-line switch `-world-port=N`, write and read ports will be set to
2018-02-20 02:14:16 +08:00
; N+1 and N+2 respectively. (Server only)
2017-03-31 23:54:06 +08:00
WorldPort=2000
2018-02-20 02:14:16 +08:00
; Time-out in milliseconds for the networking operations. (Server only)
2017-07-28 23:03:30 +08:00
ServerTimeOut=10000
2017-10-24 23:07:23 +08:00
; In synchronous mode, CARLA waits every frame until the control from the client
2017-07-28 23:03:30 +08:00
; is received.
SynchronousMode=true
2017-10-24 23:07:23 +08:00
; Send info about every non-player agent in the scene every frame, the
; information is attached to the measurements message. This includes other
; vehicles, pedestrians and traffic signs. Disabled by default to improve
; performance.
2017-07-28 23:03:30 +08:00
SendNonPlayerAgentsInfo=false
2017-03-31 23:54:06 +08:00
[CARLA/QualitySettings]
2018-03-16 02:32:07 +08:00
; Quality level of the graphics, a lower level makes the simulation run
; considerably faster. Available: Low or Epic.
QualityLevel=Epic
2017-05-19 23:49:31 +08:00
[CARLA/LevelSettings]
; Path of the vehicle class to be used for the player. Leave empty for default.
; Paths follow the pattern "/Game/Blueprints/Vehicles/Mustang/Mustang.Mustang_C"
PlayerVehicle=
; Number of non-player vehicles to be spawned into the level.
2017-10-24 23:07:23 +08:00
NumberOfVehicles=15
; Number of non-player pedestrians to be spawned into the level.
2017-10-24 23:07:23 +08:00
NumberOfPedestrians=30
; Index of the weather/lighting presets to use. If negative, the default presets
; of the map will be used.
2017-10-24 23:07:23 +08:00
WeatherId=1
2017-06-20 22:17:30 +08:00
; Seeds for the pseudo-random number generators.
SeedVehicles=123456789
SeedPedestrians=123456789
2017-05-19 23:49:31 +08:00
; Disable bikes and motorbikes, if true only four-wheeled vehicles will be
; spawned.
DisableTwoWheeledVehicles=false
2018-02-20 02:14:16 +08:00
[CARLA/Sensor]
; Names of the sensors to be attached to the player, comma-separated, each of
; them should be defined in its own subsection.
; Uncomment next line to add a camera called MyCamera to the vehicle
; Sensors=MyCamera
; or uncomment next line to add a camera and a Lidar
2018-02-20 02:14:16 +08:00
; Sensors=MyCamera,MyLidar
2018-02-20 02:14:16 +08:00
; or uncomment next line to add a regular camera and a depth camera
; Sensors=MyCamera,MyCamera/Depth
2017-11-17 01:32:06 +08:00
; Now, every camera we added needs to be defined it in its own subsection.
2018-02-20 02:14:16 +08:00
[CARLA/Sensor/MyCamera]
; Type of the sensor. The available types are:
; * CAMERA A scene capture camera.
; * LIDAR_RAY_CAST A Lidar implementation based on ray-casting.
SensorType=CAMERA
; Post-processing effect to be applied to this camera. Valid values:
; * None No effects applied.
; * SceneFinal Post-processing present at scene (bloom, fog, etc).
; * Depth Depth map ground-truth only.
; * SemanticSegmentation Semantic segmentation ground-truth only.
PostProcessing=SceneFinal
; Size of the captured image in pixels.
2017-09-07 21:55:41 +08:00
ImageSizeX=800
ImageSizeY=600
2017-11-16 22:09:37 +08:00
; Camera (horizontal) field of view in degrees.
2018-02-20 02:14:16 +08:00
FOV=90
2018-03-07 19:36:58 +08:00
; Position of the camera relative to the car in meters.
PositionX=0.20
2018-02-20 02:14:16 +08:00
PositionY=0
2018-03-07 19:36:58 +08:00
PositionZ=1.30
; Rotation of the camera relative to the car in degrees.
2018-02-20 02:14:16 +08:00
RotationPitch=8
RotationRoll=0
RotationYaw=0
2018-02-20 02:14:16 +08:00
[CARLA/Sensor/MyCamera/Depth]
; The sensor can be defined in a subsection of MyCamera so it inherits the
; values in MyCamera. This adds a camera similar to MyCamera but generating
; depth map images instead.
PostProcessing=Depth
2018-02-20 02:14:16 +08:00
[CARLA/Sensor/MyLidar]
SensorType=LIDAR_RAY_CAST
2018-02-20 02:14:16 +08:00
; Number of lasers.
Channels=32
2018-03-07 19:36:58 +08:00
; Measure distance in meters.
Range=50.0
2018-02-20 02:14:16 +08:00
; Points generated by all lasers per second.
PointsPerSecond=100000
; Lidar rotation frequency.
RotationFrequency=10
; Upper and lower laser angles, positive values means above horizontal line.
UpperFOVLimit=10
LowerFOVLimit=-30
; Position and rotation relative to the vehicle.
PositionX=0
PositionY=0
2018-03-07 19:36:58 +08:00
PositionZ=1.40
2018-02-20 02:14:16 +08:00
RotationPitch=0
RotationYaw=0
RotationRoll=0