Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 3 OpenScenarios to the develop branch #206

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions opencda/scenario_testing/config_yaml/openscenario_1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
description: |-
Author: Wei Shao <[email protected]>
Content: Test configurations for `openscenario_carla` that incorporates ScenarioRunner

# Carla server settings

world:
sync_mode: true
client_host: &host localhost
client_port: &port 2000

# Parameters needed for ScenarioRunner
scenario_runner:
town: town01

# E.g., for the Overtake scenario
scenario: Scenario_1
num_actors: 2
configFile: './opencda/scenario_testing/scenarios/scenario_1.xml'
additionalScenario: '/home/ucdavis/Desktop/OpenCDA/opencda/scenario_testing/scenarios/scenario_1.py'


host: *host
port: *port
timeout: 10
debug: false
sync: false
repetitions: 1
agent: null
openscenario: null
route: null
reloadWorld: false
waitForEgo: false
trafficManagerPort: '8000'
trafficManagerSeed: '0'
record: ''
agentConfig: ''
file: false
json: false
junit: false
list: false
penscenarioparams: null
output: false
outputDir: ''
randomize: false

# Define OpenCDA scenario
scenario:
single_cav_list:
- name: cav1
destination: [200.2, 195.4, 0.5]
v2x:
enabled: false
behavior:
local_planner:
debug_trajectory: false
debug: false

vehicle_base: &vehicle_base
sensing: &base_sensing
# edge: true
perception: &base_perception
lidar: # lidar sensor configuration, check CARLA sensor reference for more details
visualize: true # whether to visualize lidar points using open3d
74 changes: 74 additions & 0 deletions opencda/scenario_testing/config_yaml/openscenario_11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
description: |-
Author: Wei Shao <[email protected]>
Content: Test configurations for `openscenario_carla` that incorporates ScenarioRunner

# Carla server settings

world:
sync_mode: true
client_host: &host localhost
client_port: &port 2000

# Parameters needed for ScenarioRunner
scenario_runner:
town: town05

# E.g., for the Overtake scenario
scenario: Scenario_11
num_actors: 2
configFile: './opencda/scenario_testing/scenarios/scenario_11.xml'
additionalScenario: '/home/ucdavis/Desktop/OpenCDA/opencda/scenario_testing/scenarios/scenario_11.py'

# The following shows how to configure a A-to-B simple scenario
# : AtoB_1
# # Number of actors to load in, including ego and other actors
# num_actors: 1
#
# configFile: './EIdrive/scenario_testing/scenarios/AtoB.xml'
# # Absolute path needed here
# additionalScenario: '/home/ucdavis/Desktop/EI-Drive/EIdrive/scenario_testing/scenarios/atob.py'

host: *host
port: *port
timeout: 10
debug: false
sync: false
repetitions: 1
agent: null
openscenario: null
route: null
reloadWorld: false
waitForEgo: false
trafficManagerPort: '8000'
trafficManagerSeed: '0'
record: ''
agentConfig: ''
file: false
json: false
junit: false
list: false
penscenarioparams: null
output: false
outputDir: ''
randomize: false

# Define OpenCDA scenario
scenario:
single_cav_list:
- name: cav1
destination: [155.0, -70.5, 0.5]
v2x:
enabled: false
behavior:
local_planner:
debug_trajectory: false
debug: false

vehicle_base: &vehicle_base
sensing: &base_sensing
# edge: true
perception: &base_perception
lidar: # lidar sensor configuration, check CARLA sensor reference for more details
visualize: true # whether to visualize lidar points using open3d
behavior: &base_behavior
max_speed: 24 # maximum speed, 60km/h
74 changes: 74 additions & 0 deletions opencda/scenario_testing/config_yaml/openscenario_12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
description: |-
Author: Wei Shao <[email protected]>
Content: Test configurations for `openscenario_carla` that incorporates ScenarioRunner

# Carla server settings

world:
sync_mode: true
client_host: &host localhost
client_port: &port 2000

# Parameters needed for ScenarioRunner
scenario_runner:
town: town06

# E.g., for the Overtake scenario
scenario: Scenario_12
num_actors: 2
configFile: './opencda/scenario_testing/scenarios/scenario_12.xml'
additionalScenario: '/home/ucdavis/Desktop/OpenCDA/opencda/scenario_testing/scenarios/scenario_12.py'

# The following shows how to configure a A-to-B simple scenario
# : AtoB_1
# # Number of actors to load in, including ego and other actors
# num_actors: 1
#
# configFile: './EIdrive/scenario_testing/scenarios/AtoB.xml'
# # Absolute path needed here
# additionalScenario: '/home/ucdavis/Desktop/EI-Drive/EIdrive/scenario_testing/scenarios/atob.py'

host: *host
port: *port
timeout: 10
debug: false
sync: false
repetitions: 1
agent: null
openscenario: null
route: null
reloadWorld: false
waitForEgo: false
trafficManagerPort: '8000'
trafficManagerSeed: '0'
record: ''
agentConfig: ''
file: false
json: false
junit: false
list: false
penscenarioparams: null
output: false
outputDir: ''
randomize: false

# Define OpenCDA scenario
scenario:
single_cav_list:
- name: cav1
destination: [138.0, 48.8, 0.5]
v2x:
enabled: false
behavior:
local_planner:
debug_trajectory: false
debug: false

vehicle_base: &vehicle_base
sensing: &base_sensing
# edge: true
perception: &base_perception
lidar: # lidar sensor configuration, check CARLA sensor reference for more details
visualize: true # whether to visualize lidar points using open3d
behavior: &base_behavior
max_speed: 25 # maximum speed, 60km/h
74 changes: 74 additions & 0 deletions opencda/scenario_testing/config_yaml/openscenario_13.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
description: |-
Author: Wei Shao <[email protected]>
Content: Test configurations for `openscenario_carla` that incorporates ScenarioRunner

# Carla server settings

world:
sync_mode: true
client_host: &host localhost
client_port: &port 2000

# Parameters needed for ScenarioRunner
scenario_runner:
town: town03

# E.g., for the Overtake scenario
scenario: Scenario_13
num_actors: 2
configFile: './opencda/scenario_testing/scenarios/scenario_13.xml'
additionalScenario: '/home/ucdavis/Desktop/OpenCDA/opencda/scenario_testing/scenarios/scenario_13.py'

# The following shows how to configure a A-to-B simple scenario
# : AtoB_1
# # Number of actors to load in, including ego and other actors
# num_actors: 1
#
# configFile: './EIdrive/scenario_testing/scenarios/AtoB.xml'
# # Absolute path needed here
# additionalScenario: '/home/ucdavis/Desktop/EI-Drive/EIdrive/scenario_testing/scenarios/atob.py'

host: *host
port: *port
timeout: 10
debug: false
sync: false
repetitions: 1
agent: null
openscenario: null
route: null
reloadWorld: false
waitForEgo: false
trafficManagerPort: '8000'
trafficManagerSeed: '0'
record: ''
agentConfig: ''
file: false
json: false
junit: false
list: false
penscenarioparams: null
output: false
outputDir: ''
randomize: false

# Define OpenCDA scenario
scenario:
single_cav_list:
- name: cav1
destination: [246.1, -12.3, 0.5]
v2x:
enabled: false
behavior:
local_planner:
debug_trajectory: false
debug: false

vehicle_base: &vehicle_base
sensing: &base_sensing
# edge: true
perception: &base_perception
lidar: # lidar sensor configuration, check CARLA sensor reference for more details
visualize: true # whether to visualize lidar points using open3d
behavior: &base_behavior
max_speed: 25 # maximum speed, 60km/h
74 changes: 74 additions & 0 deletions opencda/scenario_testing/config_yaml/openscenario_14.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
description: |-
Author: Wei Shao <[email protected]>
Content: Test configurations for `openscenario_carla` that incorporates ScenarioRunner

# Carla server settings

world:
sync_mode: true
client_host: &host localhost
client_port: &port 2000

# Parameters needed for ScenarioRunner
scenario_runner:
town: town06

# E.g., for the Overtake scenario
scenario: Scenario_14
num_actors: 2
configFile: './opencda/scenario_testing/scenarios/scenario_14.xml'
additionalScenario: '/home/ucdavis/Desktop/OpenCDA/opencda/scenario_testing/scenarios/scenario_14.py'

# The following shows how to configure a A-to-B simple scenario
# : AtoB_1
# # Number of actors to load in, including ego and other actors
# num_actors: 1
#
# configFile: './EIdrive/scenario_testing/scenarios/AtoB.xml'
# # Absolute path needed here
# additionalScenario: '/home/ucdavis/Desktop/EI-Drive/EIdrive/scenario_testing/scenarios/atob.py'

host: *host
port: *port
timeout: 10
debug: false
sync: false
repetitions: 1
agent: null
openscenario: null
route: null
reloadWorld: false
waitForEgo: false
trafficManagerPort: '8000'
trafficManagerSeed: '0'
record: ''
agentConfig: ''
file: false
json: false
junit: false
list: false
penscenarioparams: null
output: false
outputDir: ''
randomize: false

# Define OpenCDA scenario
scenario:
single_cav_list:
- name: cav1
destination: [290.3, 52.2, 0.5]
v2x:
enabled: false
behavior:
local_planner:
debug_trajectory: false
debug: false

vehicle_base: &vehicle_base
sensing: &base_sensing
# edge: true
perception: &base_perception
lidar: # lidar sensor configuration, check CARLA sensor reference for more details
visualize: true # whether to visualize lidar points using open3d
behavior: &base_behavior
max_speed: 40 # maximum speed, 60km/h
Loading