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

Implement proper overtaking/cruising functionality in local planner #636

Open
coderabbitai bot opened this issue Jan 21, 2025 · 0 comments
Open

Implement proper overtaking/cruising functionality in local planner #636

coderabbitai bot opened this issue Jan 21, 2025 · 0 comments
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2025

Background

Currently, there's a temporary workaround in the local planner's vision object filtering that arbitrarily ignores oncoming vehicles beyond 9.0 meters due to issues with overtaking/cruising functionality.

Location: code/planning/src/local_planner/utils.py

Current Implementation

if oncoming and min_object_in_front[1] > 9.0:
    # Temporary workaround for overtaking/cruising issues
    return None

Required Changes

  • Implement proper logic for handling oncoming vehicles during overtaking/cruising maneuvers
  • Remove the arbitrary 9.0-meter distance check
  • Ensure smooth transitions between overtaking and cruising states
  • Add appropriate tests for the new implementation

References

/cc @SirMDA

@SirMDA SirMDA self-assigned this Jan 21, 2025
@SirMDA SirMDA moved this to 🔖 Ready in PAF Project Backlog Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant