-
Notifications
You must be signed in to change notification settings - Fork 176
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
question about carla simulation #168
Comments
I would first make sure this isn't a visualization problem. |
Thanks for your reply~~ I'm quite sure this isn't a visualization code bug, because I copy transfuser-2022 visualization code and I also check each start and goal waypoints coordinates value from the xml file on global map, some waypoints are indeed not in a valid drivable range. Although client can projects waypoints in the route file onto the nearest lane and client will treat the projected waypoint as a goal, but as I think obviously this is not reasonable. I'm not sure if there's something wrong with the official town05_short file :-) At least I didn't find any bug in my own code. So I ‘d like to know if you encountered such an exception during the simulation? Is your simulation car normally completing the entire route? (I mean running exactly from start coordinates to goal coordinates descripted by the route xml files) I'll thanks much for your answer |
The route xml files are autogenerated and don't necessarily start or end on the road (as said CARLA will project the points to the road). |
Thanks for your answer~~ I think I can continue my testing on town05_short routes, while I still think such route generation method is a bit strange haha :-) |
Hi author, I tried to evaluation my own model in carla simulator with town05_short routes, I follow the instructions to use transfuser-2021 branch code and launch simulation, but it seems the route waypoints aren't spawned correctly, I plot town05_short waypoints in map:
![image](https://private-user-images.githubusercontent.com/32817744/241345164-8e1a0506-7c2a-4c81-8ba9-74d58a90c62e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3NTA0MDUsIm5iZiI6MTcyMTc1MDEwNSwicGF0aCI6Ii8zMjgxNzc0NC8yNDEzNDUxNjQtOGUxYTA1MDYtN2MyYS00YzgxLThiYTktNzRkNThhOTBjNjJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDE1NTUwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkYzVhNTBjOGE0Zjc4ZWRmMmJiMjg2MzI5ODNhYmYzMWRkM2VlZjRlNWMwOGM2NzkyZTc0MGMyMWI1NWMxNmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5R0dOXanTWOBqSjeME6_MPSz1KmCDaK4sCNOAlDgAsQ)
you can see some start or goal waypoint is out of drivable area, such that the ego car may block during simulation because it thinks it reach the final goal but actually not. I'm sure I directly copy the raw route xml files as you suggest from transfuser-2021 (And when I visualize town05_long route xml files, it seems normal.)
So I wanna ask have you met such strange problem? Is it possible due to carla version? (I notice your project use carla-0.9.10 while I use carla-0.9.12).
This bug really makes me very confused , I'll thanks much for your reply~
The text was updated successfully, but these errors were encountered: