carla-simulator / scenario_runner

Traffic scenario definition and execution engine
https://carla-scenariorunner.readthedocs.io/en/latest/
MIT License
534 stars 363 forks source link

How to create a scenario to park the car in Town 05? #1003

Open ronyshaji opened 1 year ago

ronyshaji commented 1 year ago

Describe our question or idea Hello I am planning to create a scenario in which the car needs to enter the parking lot and park by itself. But while going through the current available scenarios, I was not able to find the solution. Since the waypoint does not goes through the parking lot, I find it difficult. Do you have any idea about how can I do this?

Expected behavior Vehicle enters the parking lot Screenshots image

ronyshaji commented 1 year ago

@glopezdiest Do you have any feedbacks on this?

siddharthjain38 commented 1 year ago

@ronyshaji How you set way points? we can give start and end position for way points, have you tried in that way?

ronyshaji commented 1 year ago

@siddharthjain38 The issue is that there are no waypoints avaialble inside the parking lot. I think its because there is no road associated with it. Do you know any way to create a simple openscenario file to use with carla?

starrye commented 1 year ago

Try using world postion and then changing carla's get_waypoint method to position it to a custom location