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

Unable to spawn the ego vehicle #19

Open
georgeliu233 opened this issue Jul 14, 2020 · 2 comments
Open

Unable to spawn the ego vehicle #19

georgeliu233 opened this issue Jul 14, 2020 · 2 comments

Comments

@georgeliu233
Copy link

Hello~When I tried to use the 'roundabout' mode(spawn at designed point), it seems that the ego vehicle can not be spawned even after the max_spawn_time, I don't know what is going wrong, do you know?

@cjy1992
Copy link
Owner

cjy1992 commented Aug 21, 2020

This might because the traffic is very busy near the roundabout, and there might be always a car occupying the spawn point of the ego vehicle. You can try decrease the number of vehicles in the map.

@YanlinQi
Copy link

I have figured out how to solve this problem. It may be due to the version difference. My Carla version is 0.9.13, which is higher than 0.9.6. I found that it is because of the " set_carla_transform" function that is self-defined in misc.py. The problem is that the transform.location.z is not given and automatically assigned as 0.0, and this is where the problem arises. We should get rid of this value and what I did is just assign transform.location.z to a value in (0, 1) and it works well right now. I hope this comment would help someone with the same problem.

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

No branches or pull requests

3 participants