Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My vehicle does not disappear automatically when using SUMO simulation #14898

Closed
idl-KevinKaslana opened this issue May 21, 2024 · 7 comments
Closed

Comments

@idl-KevinKaslana
Copy link

I tried to use the randomTrips tool to generate a vehicle path, but when I simulated it I found that my vehicle would not disappear automatically after arriving at the destination and was still displayed above. Additionally, vehicles exhibit overlapping behavior when waiting at intersections. I want to know what should I do
If possible, upload an example that shows your problem.

**SUMO-version:1.190

**operating system:windows10

@m-kro m-kro added the question label May 21, 2024
@m-kro
Copy link
Contributor

m-kro commented May 21, 2024

Does the vehicle actually arrive at the very end of the last route edge or is it blocked by some other vehicle short before that?
Can you show us a screenshot of the overlapping vehicles? Do vehicles overlap when their paths cross?

@idl-KevinKaslana
Copy link
Author

idl-KevinKaslana commented May 21, 2024

Like this!Multiple cars stacked on top of each other! I don't know what happened
image

carposition

@m-kro
Copy link
Contributor

m-kro commented May 21, 2024

Please check whether you have set a custom length value for the edge length (instead of relying on the one computed from geometry). Additionally go the visualization settings for vehicles and look whether "Scale with geometry length" is deactivated. Both together can lead to stacked vehicles in the GUI.

@namdre
Copy link
Contributor

namdre commented May 21, 2024

@idl-KevinKaslana
Copy link
Author

Maybe it's not because of this problem. I redefined two two-way traffic flows on a road, but I found that the vehicles would return to the other traffic route after traveling. How should I set up my traffic flow so that the vehicles will automatically disappear after reaching the end point?
image

@idl-KevinKaslana
Copy link
Author

image
This is my defined vehicle endpoint

@m-kro
Copy link
Contributor

m-kro commented May 22, 2024

You can inspect the vehicle's route through the context menu (right click on the vehicle, "Show current route"). You can show the edge IDs in the GUI as well (e.g. in the visualization settings). Then compare it with the definition in your routes files to see what it is really happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants