generated from angelomorgado/CARLA-Ultimate-Template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
configuration.py
28 lines (25 loc) · 1.02 KB
/
configuration.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Pygame Window
IM_WIDTH = 1920
IM_HEIGHT = 1080
NUM_COLS = 2 # Number of columns in the grid
NUM_ROWS = 2 # Number of rows in the grid
MARGIN = 30
BORDER_WIDTH = 5
# Vehicle and Sensors attributes
SENSOR_FPS = 30
VERBOSE = False
VEHICLE_SENSORS_FILE = 'src/config/default_sensors.json'
VEHICLE_PHYSICS_FILE = 'src/config/default_vehicle_physics.json'
VEHICLE_MODEL = "vehicle.tesla.model3"
# Simulation attributes
SIM_HOST = 'localhost'
SIM_PORT = 2000
SIM_TIMEOUT = 100.0
SIM_LOW_QUALITY = False
SIM_OFFSCREEN_RENDERING = False
SIM_NO_RENDERING = False
SIM_FPS = 30
# Environment attributes
ENV_SCENARIOS_FILE = 'src/config/default_scenarios.json'
ENV_MAX_STEPS = 430 # Max number of steps per episode. I suggest running the helpfull-scipts/check_max_num_steps.py script to get your number
ENV_WAYPOINT_SPACING = 7.0