Repository navigation
ScenarioRunner 1.0 is compatible with CARLA 1.0 and lives on the ue58-dev branch.
🚀 New Features
- Scenarios no longer take
world.BasicScenarioprovides the world, the map and the global route planner. - OpenSCENARIO 2.0 support is now optional. Every other mode runs without the antlr4 runtime installed.
ConstructionObstacle,ConstructionObstacleTwoWaysandParkingExittake their traffic from the config, running an actor flow when givenstart_actor_flowandend_actor_flow, and slowing the background traffic down when not.
🐛 Bug Fixes
npc_agentfollows the global plan it is given instead of re-tracing it point by point, which could detour inside a junction and leave the route.manual_control.pyruns on CARLA UE5. It no longer sets the RGB camera's removedgammaattribute, and it tracks the ego through the world snapshot.- Updated the blueprint ids of the example and route files to ones that exist in CARLA UE5.
👻 Maintenance
- Requires CARLA 1.0 and py_trees 2.6.0, up from CARLA 0.9.14 and py_trees 0.8.3. The
sixdependency and the remaining Python 2 compatibility code are gone. - Split
CarlaDataProviderinto smaller pieces:SimulationData(srunner/scenariomanager/simulation_data.py) for the client, world, map, route planner, spawn points and random state, andsrunner/tools/actor_factory.py,actor_state.py,map_utils.pyandtraffic_light_utils.pyfor the rest. Update any import ofsrunner.scenariomanager.carla_data_provider. - Actor state is no longer cached each tick. Read it from the Python API with
actor.get_location()andactor.get_transform(), andget_ground_speed(actor)for the 2D speed. The global actor pool is gone, so every actor is destroyed by whoever created it. - Towns are resolved against the maps available on the server, as CARLA UE5 requires exact names, and 0.9.x blueprint ids are translated to their UE5 equivalents.
- Scenario classes are resolved through
srunner/tools/scenario_class_loader.py, so--scenarioand--routefind the same ones and--additionalScenariois registered once. - Regenerated the OpenSCENARIO 2.0 parser with ANTLR 4.9.3, so its runtime matches the 4.9.* pin of common packages such as omegaconf.
- Removed the
ChangeLane,CutInandHighwayCutInexample configs, and alignedObjectCrossing's dumpster blocker along the kerb.
Full changelog: https://github.com/carla-simulator/scenario_runner/blob/ue58-dev/Docs/CHANGELOG.md