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

ques about traffic signs ability #107

Open
starlighttt123 opened this issue Oct 10, 2024 · 2 comments
Open

ques about traffic signs ability #107

starlighttt123 opened this issue Oct 10, 2024 · 2 comments

Comments

@starlighttt123
Copy link

hello, I am a little confused about the calculation process of the traffic signs ability in ability_benchmark.py, could you please give a brief explanation? Thanks

@starlighttt123
Copy link
Author

besides, the code shows that each route in the traffic sign seems to be calculated twice?

@Random8756
Copy link
Collaborator

Here is a brief explanation: For routes that include traffic signs (stop signs or traffic lights), we first calculate the position of the trigger volume, and then calculate the route completion value that would be achieved if the ego vehicle travels from the starting location to this location. If the ego vehicle's route completion is greater than this value and no stop sign infraction or running red light infraction is triggered, then it is considered that the ego vehicle has the ability to pass through traffic signs in that evaluation. Each route will be calculated only once.

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

2 participants