carla-simulator / carla-simulator/scenario_runner
The stop trigger on the storyboard is not working.
- Dominant language
- Python
- Stars
- 681
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
I made an example of the situation below.
[Example]
1. The Ego vehicle starts at SimulationTime = 0 and increases the speed from 0 to 60 km/h. (Accelerate for 5 seconds)
2. In front of the lane where the Ego vehicle(hero) is located, there is a counter vehicle(standing).
3. If the distance between the Ego vehicle(hero) and the counter vehicle(standing) is narrowed to 30 m, the speed of the Ego vehicle(hero) is reduced to 30 km/h.
4. Both vehicles continue to drive for 1 minute and terminate.
I have a OpenSCENARIO file which has scenario end condition (StopTrigger on StoryBoard) as StoryboardElementStateCondition converting to endTransition. However, after SlowPrecordingStartCondition is triggered, the stop trigger does not work and ends with the following error. How can I fix it to do the scenario as intended?
`Destroying ego vehicle 147`
`ERROR: failed to destroy actor 147 : unable to destroy actor: not found `
`
`
Contributor guide
Research direction
Run the supplied OpenSCENARIO reproduction and inspect how the scenario runner evaluates the Storyboard StopTrigger, especially the StoryboardElementStateCondition for SlowPrecedingManeuver. Done means the scenario continues for the requested 60-second delay and terminates cleanly without the actor-destruction error.
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
- Mostly clear
- Newbie friendliness
- 35/100