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

165 feature local trajectory planning with frenet trajectory planner #177

Conversation

samuelkuehnel
Copy link
Collaborator

Description

This PR introduces the frenet trajectory planner to our project. It enables to create a new trajecotry during runtime when a object ist detected in front.
Fixes #165

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Does this PR introduce a breaking change?

No

Most important changes

New method in motion planning.
utils.py file that has some utility methods to free up space in the motion planning file.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (might be obsolete with CI later on)
  • New and existing unit tests pass locally with my changes (might be obsolete with CI later on)

Copy link

Simulation results

Metric Value
Avg. driving score 0.040579
Avg. route completion 3.88
Avg. infraction penalty 0.009472
Collisions with pedestrians 0.0
Collisions with vehicles 23.888
Collisions with layout 3.413
Red lights infractions 1.706
Stop sign infractions 1.706
Off-road infractions 0.041
Route deviations 0.0
Route timeouts 0.0
Agent blocked 3.413
Yield emergency vehicles infractions 0.0
Scenario timeouts 3.413
Min speed infractions 0.0

Copy link
Collaborator

@JuliusMiller JuliusMiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change some things for better understanding on the main-branch

code/agent/config/rviz_config.rviz Outdated Show resolved Hide resolved
code/planning/src/global_planner/global_planner.py Outdated Show resolved Hide resolved
code/planning/src/local_planner/ACC.py Outdated Show resolved Hide resolved
code/planning/src/local_planner/motion_planning.py Outdated Show resolved Hide resolved
code/planning/src/local_planner/motion_planning.py Outdated Show resolved Hide resolved
@samuelkuehnel
Copy link
Collaborator Author

Changes done please re-review

Copy link
Collaborator

@JuliusMiller JuliusMiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice Changes! Approved!

…jectory-planning-with-frenet-trajectory-planner
Copy link

Simulation results

Metric Value
Avg. driving score 0.09828
Avg. route completion 0.36
Avg. infraction penalty 0.273
Collisions with pedestrians 0.0
Collisions with vehicles 39.192
Collisions with layout 39.192
Red lights infractions 0.0
Stop sign infractions 0.0
Off-road infractions 0
Route deviations 0.0
Route timeouts 39.192
Agent blocked 0.0
Yield emergency vehicles infractions 0.0
Scenario timeouts 39.192
Min speed infractions 0.0

@samuelkuehnel samuelkuehnel merged commit 6aa61f3 into main Jan 30, 2024
3 checks passed
@samuelkuehnel samuelkuehnel deleted the 165-feature-local-trajectory-planning-with-frenet-trajectory-planner branch January 30, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Local trajectory planning with Frenet Trajectory planner
2 participants