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

Perfect Lane Detection not detecting every lane #227

Open
mageofboy opened this issue Feb 20, 2022 · 0 comments
Open

Perfect Lane Detection not detecting every lane #227

mageofboy opened this issue Feb 20, 2022 · 0 comments

Comments

@mageofboy
Copy link
Contributor

mageofboy commented Feb 20, 2022

Perfect lane detection operator is not detecting every lane. For instance, on town 3, spawn point 4, only 2 lanes are detected when there should be 4.

It seems like the operator is only detecting lanes that are going in the same direction. Looking into

def get_all_lanes(self, location: Location):
when we reach the leftmost lane in the same direction, calling wp_left = wp_left.get_left_lane() simply gives use a waypoint with LaneType = NONE.

Another potential? bug is that the lane_id of the leftlane waypoint was 2, which indicates a right lane.

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

1 participant