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

Lane index of self-vehicles for merge-v0 and intersection-v0 #594

Open
AHPUymhd opened this issue Apr 25, 2024 · 1 comment
Open

Lane index of self-vehicles for merge-v0 and intersection-v0 #594

AHPUymhd opened this issue Apr 25, 2024 · 1 comment

Comments

@AHPUymhd
Copy link

image
The lane index of highway-v0 is shown in the figure . So what do the lane indexes of merge-v0 and intersection-v0 look like, and how do you get the index lanes where your own vehicle and other vehicles are located?
image
image

I would be very grateful for your reply!
@eleurent

@eleurent
Copy link
Collaborator

"Lane indices" apply to "road segments" where all lanes are side by side and go in the same direction (this is the criterion to allow vehicles to do a lane change).

So in the intersection scene, no road qualifies: some lanes are side by side, but they don't go in the same direction.

In the merge scene:
The top left rectangle is a road segment with two lanes (index 0,1), the bottom left rectangle has a single lane (index 0), and the right rectangle needs to be extended all the way to the top to describe the road segment with three lanes (0,1,2)

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