From 65328aed69143b1f793e9736a7280b7b877635ec Mon Sep 17 00:00:00 2001 From: Fabian Oboril Date: Thu, 27 Feb 2020 08:09:35 +0100 Subject: [PATCH] Release v0.9.7 Change-Id: Ia4cba59f1d898323a9364616d54f47b0ecab4d13 --- Docs/CHANGELOG.md | 27 +++++++++++++++++---------- README.md | 3 ++- scenario_runner.py | 4 ++-- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/Docs/CHANGELOG.md b/Docs/CHANGELOG.md index 48fca5268..0db5c0207 100644 --- a/Docs/CHANGELOG.md +++ b/Docs/CHANGELOG.md @@ -1,20 +1,30 @@ ## Table of Contents * [Latest Changes](#latest-changes) +* [CARLA ScenarioRunner 0.9.7](#carla-scenariorunner-097) * [CARLA ScenarioRunner 0.9.6](#carla-scenariorunner-096) * [CARLA ScenarioRunner 0.9.5.1](#carla-scenariorunner-0951) * [CARLA ScenarioRunner 0.9.5](#carla-scenariorunner-095) * [CARLA ScenarioRunner 0.9.2](#carla-scenariorunner-092) ## Latest Changes + + +## CARLA ScenarioRunner 0.9.7 +**This is the _first_ release to work with CARLA 0.9.7 (not the patch versions 0.9.7.x)** ### :rocket: New Features -* Added example scenario for lane change -* Added cut-in example scenario -* New Features: +* Challenge routes can be directly executed with the ScenarioRunner using the --route option +* Agents can be used with the ScenarioRunner (currently only for route-based scenarios) +* New scenarios: + - Added example scenario for lane change + - Added cut-in example scenario +* Scenario updates: - Scenarios 7 to 10 are now visible when running routes (instead of being triggered in the background). Their - methodology has remained unchanged + methodology has remained unchanged +* Scenario atomics: - Added new OutsideRouteLanesTest atomic criter that encompasses both SidewalkTest and WrongLaneTest, returning - the percentage of route that has been traveled outside the lane. - - InRouteTest is now more forgiving. The max distance has been increased, but staying above the previous one will eventually also cause failure + the percentage of route that has been traveled outside the lane. + - InRouteTest is now more forgiving. The max distance has been increased, but staying above the previous one will eventually + also cause failure - Changed SidewalkTest atomic criteria to also track other type of out of lane conditions - SidewalkTest and WrongLaneTest atomic criterias now track the amount of meters traversed - CollisionTest atomic criteria now correctly ignores multiple micro-collisions with the same object @@ -23,13 +33,10 @@ - Added get_transform() method for CarlaDataProvider - Added support for weather conditions - Added basic version check to ensure usage of correct CARLA version - - Routes can be executed with the ScenarioRunner - - Agents can be used with the ScenarioRunner (currently only for route-based scenarios) - - Challenge can be executed with the ScenarioRunner - WaypointFollower atomic can handle pedestrians + - Extensions in WaypointFollower atomic for consecutive WaypointFollowers (one WF cancels the previous one) * Extended OpenScenario support: - Added support for UserDefinedActions (e.g. to run additional scripts) - - Extensions in WaypointFollower atomic for consecutive WaypointFollowers - Added init speed behavior for vehicles - Added support for relative velocities - Extended convert_position_to_transform with RelativeWorld, RelativeObject and RelativeLane osc_positions diff --git a/README.md b/README.md index 8e3049163..6f0841aab 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,8 @@ branch contains the latest fixes and features, and may be required to use the la It is important to also consider the release version that has to match the CARLA version. -* Version 0.9.6: Compatible with [CARLA 0.9.6](https://github.com/carla-simulator/carla/releases/tag/0.9.6) +* [Version 0.9.7](https://github.com/carla-simulator/scenario_runner/releases/tag/v0.9.7) and the 0.9.7 Branch: Compatible with [CARLA 0.9.7](https://github.com/carla-simulator/carla/releases/tag/0.9.7) but not with the later release patch versions. For these please use the current master of ScenarioRunner. +* [Version 0.9.6](https://github.com/carla-simulator/scenario_runner/releases/tag/v0.9.6) and the 0.9.6 Branch: Compatible with [CARLA 0.9.6](https://github.com/carla-simulator/carla/releases/tag/0.9.6) * [Version 0.9.5](https://github.com/carla-simulator/scenario_runner/releases/tag/v0.9.5) and [Version 0.9.5.1](https://github.com/carla-simulator/scenario_runner/releases/tag/v0.9.5.1): Compatible with [CARLA 0.9.5](https://github.com/carla-simulator/carla/releases/tag/0.9.5) * [Version 0.9.2](https://github.com/carla-simulator/scenario_runner/releases/tag/0.9.2): Compatible with [CARLA 0.9.2](https://github.com/carla-simulator/carla/releases/tag/0.9.2) diff --git a/scenario_runner.py b/scenario_runner.py index 40052e65e..b2ed55eca 100755 --- a/scenario_runner.py +++ b/scenario_runner.py @@ -102,8 +102,8 @@ def __init__(self, args): self.client.set_timeout(self.client_timeout) dist = pkg_resources.get_distribution("carla") - if LooseVersion(dist.version) < LooseVersion('0.9.6'): - raise ImportError("CARLA version 0.9.6 or newer required. CARLA version found: {}".format(dist)) + if LooseVersion(dist.version) < LooseVersion('0.9.7'): + raise ImportError("CARLA version 0.9.7 or newer required. CARLA version found: {}".format(dist)) # Load additional scenario definitions, if there are any # If something goes wrong an exception will be thrown by importlib (ok here)