Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
1b94bee
removed redundant osc2 files
david-gasinski Jan 11, 2026
7c83653
removed redunant openscenario class
david-gasinski Jan 11, 2026
3990ca7
added loop to spawn ego for redunancy
david-gasinski Jan 11, 2026
57b56c3
bug fix; exit loop on successful ego spawn
david-gasinski Jan 11, 2026
f1bfbd3
fixed bug with autoware double restarting
david-gasinski Jan 11, 2026
bc504e3
updated JOSS paper
david-gasinski Jan 13, 2026
51aa4d0
Research Impact Statement updated
donghwan-shin Jan 13, 2026
5543156
updated JOSS paper to meet new reqs
david-gasinski Jan 15, 2026
b662bf7
merge
david-gasinski Jan 15, 2026
9cdc429
added route visualisation in CARLA
david-gasinski Jan 24, 2026
e1d29a1
fixed incorrect call to draw_line()
david-gasinski Jan 24, 2026
8aef6af
fixed passing tuple instead of carla.Transform
david-gasinski Jan 24, 2026
51abce8
fixed bug with incorrect call to draw_point()
david-gasinski Jan 24, 2026
a5d7a40
typo
david-gasinski Jan 24, 2026
09fea0d
adjust route visualiser line color to not interfere with traffic ligh…
david-gasinski Jan 24, 2026
15fd354
Update README with GPU compatibility details
david-gasinski Jan 28, 2026
9f3ceab
added code to force sensors to tick in carla at the same rate as auto…
david-gasinski Jan 31, 2026
6865c2e
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jan 31, 2026
23ed32d
Merge branch 'main' into 110-joss-submission
david-gasinski Jan 31, 2026
ec16637
updated time ratio to track 1 / fixed_delta ticks
david-gasinski Jan 31, 2026
92a5c71
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jan 31, 2026
a9657cd
push
david-gasinski Jan 31, 2026
566ad8f
removed sensor tick; added wait for control command
david-gasinski Feb 23, 2026
bb6c278
added delay to ensure ticking remains constant
david-gasinski Feb 23, 2026
dc386b3
added more descriptive tick messages
david-gasinski Feb 23, 2026
9309ac3
(auto) Paper PDF Draft
david-gasinski Feb 23, 2026
a4c1ac8
(fix) mounting docker volume into carla container for results
david-gasinski Feb 25, 2026
e6712ae
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Feb 25, 2026
7418a74
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
a34e604
(fix) added docs for autoware first-time launch, fixed import error
david-gasinski Feb 25, 2026
ab6f1d9
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Feb 25, 2026
c009c74
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
2a455a6
(fix) moved CarlaState to carla_ros.py
david-gasinski Feb 25, 2026
c6ad3bb
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Feb 25, 2026
954142e
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
78fab70
(fix) modified launch order of run_benchmark, fixed NoneType error wi…
david-gasinski Feb 25, 2026
1d9678f
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Feb 25, 2026
77f2cdd
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
d977059
(fix) added error logs to starting CARLA container
david-gasinski Feb 25, 2026
1ee6a46
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Feb 25, 2026
31bf735
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
d5fd4aa
(fix) using absolute path for bind mount
david-gasinski Feb 25, 2026
d11a141
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
3a93d32
(fix) swapped tick order
david-gasinski Feb 25, 2026
c16edcb
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
03de090
(fix) add initialising state to not wait for control command
david-gasinski Feb 25, 2026
94c7b29
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
2b0d9a7
(fix) replaced Gametime.get_time calls with datetime.datetime.now
david-gasinski Feb 25, 2026
c2bdd6e
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
bb03b4b
(fix) removed carla_state
david-gasinski Feb 25, 2026
b32aff9
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
7c88eb0
(fix) added CARLA cleanup
david-gasinski Feb 25, 2026
d3b6733
gMerge branch '110-joss-submission' of github.com:Intelligent-Testing…
david-gasinski Feb 25, 2026
5467b3e
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
d5a83eb
(fix) applied changes to fix runtime errors during execution
david-gasinski Feb 25, 2026
9297018
(auto) Paper PDF Draft
david-gasinski Feb 25, 2026
a487fe0
updated dockerfile to run as carla users
david-gasinski Feb 26, 2026
b7b7d3c
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Feb 26, 2026
d31959c
(auto) Paper PDF Draft
david-gasinski Feb 26, 2026
0694b10
added additional documentation to setup development environment
david-gasinski Mar 14, 2026
bd3da41
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Mar 14, 2026
6bfd222
(auto) Paper PDF Draft
david-gasinski Mar 14, 2026
ea854b6
(feat) completed and tested development container
david-gasinski Mar 15, 2026
e647a7f
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Mar 15, 2026
3e97bc3
(auto) Paper PDF Draft
david-gasinski Mar 15, 2026
aeeb1bb
updated lidar settings to improve detection accuracy
david-gasinski Apr 22, 2026
99cf5bf
(auto) Paper PDF Draft
david-gasinski Apr 22, 2026
6ee91ae
(feat) added additional camera publishing for yolo-based object detec…
david-gasinski Apr 22, 2026
8641e76
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Apr 22, 2026
6073e5f
(auto) Paper PDF Draft
david-gasinski Apr 22, 2026
d73b992
(docs) updated docstrings
david-gasinski Apr 22, 2026
9f50381
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Apr 22, 2026
c5e8a7c
(auto) Paper PDF Draft
david-gasinski Apr 22, 2026
52958bd
changed camera id
david-gasinski Apr 22, 2026
226c59b
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Apr 22, 2026
5387bf0
(auto) Paper PDF Draft
david-gasinski Apr 22, 2026
89c97db
updated publishers for autoware camera topics
david-gasinski Apr 23, 2026
0ce1eef
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Apr 23, 2026
d577842
(auto) Paper PDF Draft
david-gasinski Apr 23, 2026
28d3c26
updated gitignore
david-gasinski Apr 27, 2026
4e03a83
updated dev workspace script
david-gasinski Apr 27, 2026
4970a58
updated dev workspace script
david-gasinski Apr 27, 2026
7bd1afe
(feat) added sensor configuration to scenario definition
david-gasinski Apr 27, 2026
eacb6fb
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Apr 27, 2026
3851896
(auto) Paper PDF Draft
david-gasinski Apr 27, 2026
b9a4d21
(bug) fixed division by zero bug
david-gasinski Apr 27, 2026
e2deeed
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Apr 27, 2026
686eba6
(auto) Paper PDF Draft
david-gasinski Apr 27, 2026
2568ca9
added missing leaderboard scenario definition
david-gasinski May 5, 2026
62a6c38
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 5, 2026
de651cc
fixed bug with scenario process crashing and causing cascading failure
david-gasinski May 5, 2026
eb31796
(auto) Paper PDF Draft
david-gasinski May 5, 2026
b60a199
updated logic to shutdown and restart autoware every scenario iteration
david-gasinski May 6, 2026
9257129
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 6, 2026
6988334
(auto) Paper PDF Draft
david-gasinski May 6, 2026
ca6e5ce
moved around ticking
david-gasinski May 6, 2026
2826b7d
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 6, 2026
c35d869
(auto) Paper PDF Draft
david-gasinski May 6, 2026
80720df
(refactor) updated get_data to be frame aware; CAWSR now waits for se…
david-gasinski May 9, 2026
6b89da2
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
7403433
(bug) added annotations import to resolve imports only be static type…
david-gasinski May 9, 2026
7c48d20
(auto) Paper PDF Draft
david-gasinski May 9, 2026
7c865bc
bug fixes
david-gasinski May 9, 2026
1171dae
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
f56a72f
(auto) Paper PDF Draft
david-gasinski May 9, 2026
9c08dcf
added sim vs wall ratio logging
david-gasinski May 9, 2026
c47549d
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
9e6193b
(auto) Paper PDF Draft
david-gasinski May 9, 2026
bbd4531
(fix) attempted performance fixes to reduce sim:wall ratio
david-gasinski May 9, 2026
2dc2dc2
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
617b3d8
(auto) Paper PDF Draft
david-gasinski May 9, 2026
89a4c0e
(bug) fixed issue with incorrect init_loop() before causing localisat…
david-gasinski May 9, 2026
ecdad85
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
c8985bc
(auto) Paper PDF Draft
david-gasinski May 9, 2026
ffa11a8
(fix) fixed bug with _tick_carla() calling agent class before initial…
david-gasinski May 9, 2026
050a674
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
e2d75c0
(auto) Paper PDF Draft
david-gasinski May 9, 2026
1ed5643
(fix) moved autoware_restart to allow time for ROS callbacks to spin up
david-gasinski May 9, 2026
19cbbaf
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
01e4f7d
(auto) Paper PDF Draft
david-gasinski May 9, 2026
449edcc
(fix) attempted fix for localistaion issue during init loop. Merged r…
david-gasinski May 9, 2026
be3a1b0
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
310b58b
(auto) Paper PDF Draft
david-gasinski May 9, 2026
1a04f67
updated GNSS publish rate
david-gasinski May 9, 2026
ea60f5b
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
23dee74
(auto) Paper PDF Draft
david-gasinski May 9, 2026
94a38d1
(fix) revert stale sensor data check, testing if this could be the cause
david-gasinski May 9, 2026
ed93c19
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
4092638
(auto) Paper PDF Draft
david-gasinski May 9, 2026
438ca4c
(bug) added last_control variable to apply the last received control …
david-gasinski May 9, 2026
4d30881
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
f9dbed0
(auto) Paper PDF Draft
david-gasinski May 9, 2026
8b3f32c
added camera smoothing
david-gasinski May 9, 2026
06a4ac9
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 9, 2026
48f14b5
(auto) Paper PDF Draft
david-gasinski May 9, 2026
d2b5139
made camera smoothing more aggressive
david-gasinski May 10, 2026
7462d89
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski May 10, 2026
9465e5d
(auto) Paper PDF Draft
david-gasinski May 10, 2026
8a6570f
added code to stop route-hanging and extended route timeouts
david-gasinski Jun 1, 2026
7e6ff09
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 1, 2026
533ec7d
(auto) Paper PDF Draft
david-gasinski Jun 1, 2026
9a1546b
refactored current error handling and added a switched to a more robu…
david-gasinski Jun 4, 2026
08e1363
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
83bf7d2
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
6533a9c
added additional log statements
david-gasinski Jun 4, 2026
dd8ad7e
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
edeca6c
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
1390d86
fixed bug with retry not being triggerd on CARLA crash
david-gasinski Jun 4, 2026
c8a185d
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
87fe7c5
bug fixes
david-gasinski Jun 4, 2026
a45affd
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
8bdf6b8
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
2e0cd0a
bug fixes
david-gasinski Jun 4, 2026
bbd403e
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
09183ff
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
84d98f7
bug fixes
david-gasinski Jun 4, 2026
66be77e
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
621b9a2
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
7ebc59b
added check to only cleanup scenario if executed successfully
david-gasinski Jun 4, 2026
fd9cebe
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
d6811b2
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
3e5d011
bug fixes)
david-gasinski Jun 4, 2026
9a5e7b4
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
9ae14c3
added logging
david-gasinski Jun 4, 2026
d204bce
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
4d33cfc
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
f62a5a9
bug fixes
david-gasinski Jun 4, 2026
71cfdf7
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
b80729b
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
fb4bbcb
fixes
david-gasinski Jun 4, 2026
cbbf5be
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
2bf4868
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
91ebcf7
fixes
david-gasinski Jun 4, 2026
cfe44f5
Merge branch '110-joss-submission' of github.com:Intelligent-Testing-…
david-gasinski Jun 4, 2026
325413f
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
5acabe3
updated paper to match JOSS scope
david-gasinski Jun 4, 2026
c224011
removed old pdf due to merge conflict
david-gasinski Jun 4, 2026
b9fc827
(auto) Paper PDF Draft
david-gasinski Jun 4, 2026
5078846
revised the new "State of the Field"
donghwan-shin Jun 17, 2026
5ea215e
(auto) Paper PDF Draft
donghwan-shin Jun 17, 2026
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
21 changes: 12 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
*.pyc
# ignore docker for now
.ruff_cache
docker/id_rsa
id_rsa
PythonAPI
srunner/autoagents/*.pyc
srunner/autoagents/__pycache__/
srunner/scenariomanager/*.pyc
Expand All @@ -13,22 +9,29 @@ srunner/scenarios/__pycache__/
srunner/utilities/*.pyc
srunner/utilities/__pycache__/
results*.txt
tests
tests/
*.log
.project
.pydevproject
*.png
*.svg
*.dot
.python-version
PythonAPI
results
PythonAPI/
results/
srunner/osc2
srunner/osc2_dm
srunner/osc2_stdlib
metrics_manager.py
docker-compose.yml
jats
paper
logs
typings
logs/
typings/
cawsr_workspace/
tools/
scenarios/
algorithms/
configs/
results/
Dockerfile_dev
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Thank you for your interest in this project! We welcome contributions from the community.

To setup the development environment, please refer to the [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md) file.

## How to Contribute
1. **Fork the repository** on GitHub.
2. **Create a new branch** for your feature or bug fix.
Expand Down
18 changes: 15 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ FROM osrf/ros:humble-desktop
RUN apt -y update && \
apt install --no-install-recommends -y libpng16-16 libtiff5 libjpeg8 build-essential curl wget git libxerces-c-dev python3-pip vim

# Create carla user with same UID/GID as the CARLA simulator container
RUN groupadd -g 1000 carla && \
useradd -m -u 1000 -g carla -s /bin/bash carla

# clone repo
COPY . /autoware_scenario_runner

Expand Down Expand Up @@ -50,11 +54,19 @@ RUN mkdir /cyclonedds && \
mv /autoware_scenario_runner/docker/cyclonedds_local.xml /cyclonedds/ && \
mv /autoware_scenario_runner/docker/cyclonedds_distributed.xml /cyclonedds/ && \
rm -rf /autoware_scenario_runner/docker && \
echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> ~/.bashrc && \
echo "alias rossrc='source ${AUTOWARE_MSG_PKG} && source ${ROS_PKG} && echo Sourced'" >> ~/.bashrc && \
source ~/.bashrc
echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> /home/carla/.bashrc && \
echo "alias rossrc='source ${AUTOWARE_MSG_PKG} && source ${ROS_PKG} && echo Sourced'" >> /home/carla/.bashrc

ENV CARLA_API_ROOT="/autoware_scenario_runner/PythonAPI"
ENV PYTHONPATH="${PYTHONPATH}:${CARLA_API_ROOT}/carla/agents:${CARLA_API_ROOT}/carla"

# Give carla user ownership of necessary directories
RUN chown -R carla:carla /autoware_scenario_runner && \
chown -R carla:carla /ros_workspace && \
chown -R carla:carla /cyclonedds && \
usermod -aG docker carla

# Switch to carla user
USER carla

ENTRYPOINT [ "/autoware_scenario_runner/entrypoint.sh" ]
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

For development and contributing docs see [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md)

CAWSR: ScenarioRunner for CARLA with support for Autoware
========================

CAWSR (Carla Autoware Scenario Runner) is a scenario execution engine built for the testing of [Autoware](https://autoware.org/autoware-overview/) in route-based scenarios.

Prerequisites
---------------------------
Both CARLA and Autoware require a high-spec computer with a high-end Nvidia GPU. It is also possible to run a [**distributed**]() setup with multiple machines to help ease the workload, or run the entire stack locally. Currently, only Linux is supported (guide was written on Ubuntu 24.04).
Both CARLA and Autoware require a high-spec computer with a high-end Nvidia GPU. It is also possible to run a [**distributed**](#distributed) setup with multiple machines to help ease the workload, or run the entire stack locally. Currently, only Linux is supported (guide was written on Ubuntu 24.04).

Ensure the target machine(s) have the [Docker Engine]() and [Nvidia Container toolkit]() installed to enable gpu accelerated workflows in Docker.
Ensure the target machine(s) have the [Docker Engine](https://docs.docker.com/engine/install/) and [Nvidia Container toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) installed to enable gpu accelerated workflows in Docker.

CAWSR Setup
---------------------------
Expand Down Expand Up @@ -45,7 +47,8 @@ Running CAWSR

CAWSR can both be ran `locally` or `distributed`. Due to the high-spec requirements, it is recommended to run distributed if you do not meet the following minimum specs:
- At least **10GB** VRAM and a modern GPU (2080 ti or newer)
- We currently supports 20 and 30 series GPUs. Compatibility with the 40 series is current WIP.
- We currently supports 20 and 30 series GPUs. Compatibility with the 40 series is current WIP.

- At least **32GB** RAM
- A modern Intel or AMD CPU with at least 8 cores.

Expand Down Expand Up @@ -117,6 +120,11 @@ docker_compose.yml
```
All folders are mounted as Docker volumes into the CAWSR container, so any changes persist between host and container.

## Autoware Warmup

Before using CAWSR, Autoware must build various `TensorRT` engines for inference. Engine builds are not cross-compatible across various GPU compute capabilities (see [here](https://developer.nvidia.com/cuda/gpus)), so they must be rebuilt per machine. This process usually only takes a few minutes on modern hardware, and starts after the initial launch of autoware.


## Configuring CAWSR

CAWSR is designed to be highly configurable and supports easy swapping of config files.
Expand Down Expand Up @@ -167,10 +175,10 @@ We use a custom implementation of a scenario definition in JSON. We have include
Domain Model:
![Domain Model](./docs/resources/scenario_domain.png)

Contributing
------------
Contributing & Development
--------------------------

Please take a look at our [Contribution guidelines]().
Please take a look at our [Contribution guidelines](CONTRIBUTING.md). To setup a development container, follow our [development guidelines](docs/DEVELOPMENT.md)

License
-------
Expand Down
Loading