Skip to content

Commit

Permalink
Release v0.9.7
Browse files Browse the repository at this point in the history
Change-Id: Ia4cba59f1d898323a9364616d54f47b0ecab4d13
  • Loading branch information
fabianoboril committed Feb 27, 2020
1 parent 6e34564 commit 65328ae
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
27 changes: 17 additions & 10 deletions Docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions scenario_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 65328ae

Please sign in to comment.