Skip to content

Commit 67832d1

Browse files
removed unused files; added correct licensing to new and modified files
1 parent c05eb4c commit 67832d1

84 files changed

Lines changed: 180 additions & 42178 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ tests
2323
.python-version
2424
PythonAPI
2525
results
26+
srunner/osc2
27+
srunner/osc2_dm
28+
srunner/osc2_stdlib
29+
metrics_manager.py

algorithms/Simulated_Annealing.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# Resources used
2-
# https://colab.research.google.com/github/bnsreenu/python_for_microscopists/blob/master/319_what_is_simulated_annealing.ipynb#scrollTo=5SSQpSpHeUZh
3-
# https://en.wikipedia.org/wiki/Simulated_annealing
1+
#!/bin/bash
2+
3+
# Copyright (c) 2025 University of Sheffield
4+
#
5+
# This work is licensed under the terms of the MIT license.
6+
# For a copy, see <https://opensource.org/licenses/MIT>.
47

58
from BasicAlgorithm import BasicAlgorithm
69
import lanelet2

algorithms/basic_algorithm.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2025 University of Sheffield
4+
#
5+
# This work is licensed under the terms of the MIT license.
6+
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
18
import numpy as np
29

310

algorithms/hill_climb.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2025 University of Sheffield
4+
#
5+
# This work is licensed under the terms of the MIT license.
6+
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
18
from basic_algorithm import BasicAlgorithm
29
import lanelet2
310
import random

algorithms/random_search.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2025 University of Sheffield
4+
#
5+
# This work is licensed under the terms of the MIT license.
6+
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
18
from basic_algorithm import BasicAlgorithm
29
from srunner.tools import route_manipulation
310

algorithms/test_alg.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

aw_scenario_runner.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/usr/bin/env python
22

3+
# Copyright (c) 2025 University of Sheffield
4+
#
5+
# This work is licensed under the terms of the MIT license.
6+
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
38
import traceback
49
import os
510
import importlib
@@ -38,7 +43,7 @@
3843
logger = logging.getLogger("scenario-runner")
3944

4045
metrics_collected = {
41-
"timestamp": 0.0, # when tick started
46+
"timestamp": 0.0,
4247
"total_tick": 0.0,
4348
"scenario_runner_time": 0.0,
4449
"agent_time": {

srunner/autoagents/agent_state/autoware_state.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2025 University of Sheffield
4+
#
5+
# This work is licensed under the terms of the MIT license.
6+
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
18
from srunner.autoagents.agent_state import state
29

310

srunner/autoagents/agent_state/state.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2025 University of Sheffield
4+
#
5+
# This work is licensed under the terms of the MIT license.
6+
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
18
from geometry_msgs.msg import Pose
29

310

srunner/autoagents/autoware_agent.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2025 University of Sheffield
4+
#
5+
# This work is licensed under the terms of the MIT license.
6+
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
18
from srunner.autoagents.autonomous_agent import AutonomousAgent
29

310
from srunner.autoagents.autoware_nodes.autoware_types import waypoint

0 commit comments

Comments
 (0)