carla-simulator / carla-simulator/scenario_runner

Why are there multiple routes? They are interfering with my anticipated route.

Open
#1,007 15 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
681
Forks
436
PR merge metrics
No merged PRs in 30d

Description

**Describe our question or idea**
I created a custom routes (_xml_) file that includes a single route which I want the ego vehicle to follow. However, with the debug flag, I learned that there are multiple routes (for e.g. are highway exits) also deployed in the simulation. Initially, the vehicle follows the path from my _xml_ file; but, when it approaches one of the exits, it takes the exit route. I am not sure why the other routes are being deployed by default. I do not want that.

**Expected behavior**
The ego vehicle should exclusively follow my route specified in the _xml_ file.

**Screenshots**
![image](https://github.com/carla-simulator/scenario_runner/assets/76883453/59fe06da-75eb-4755-b279-809c491ceaf6)

**Desktop (please complete the following information):**
- OS: Windows 10
- CARLA Version 0.9.13
- Python version 3.7
- Version 0.9.13
- Town 04

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior with the custom XML route, the debug flag, CARLA 0.9.13, and Town 04 to confirm where the additional routes appear. Done means the ego vehicle follows only the route specified in the XML and does not select an exit route; the issue names no source file or test, so locating the route-deployment entry point is part of the investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.