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

159 feature intersection behaviour testing #173

Merged
merged 49 commits into from
Jan 30, 2024

Conversation

JuliusMiller
Copy link
Collaborator

Description

With this PR the car can now stop at intersections and wait for a green light.
Furthermore corners can be detected and an appropriate speed is published to safely drive through corners.
Small adjustments to the lane change have been made to adjust speed while lane changing.

Fixes #159

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?

Most important changes

Motion_planning for curve_detection
Intersection for traffic_light detection

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)

MaxJa4 and others added 30 commits December 12, 2023 13:48
…ction' into 159-feature-intersection-behaviour-testing
* Add publisher

* Publish segmented traffic lights

* Implement TrafficLightNode

* Add TrafficLightState msg. WIP

* Add publisher

* Publish segmented traffic lights

* Implement TrafficLightNode

* Add TrafficLightState msg. WIP

* Added side view classification

* Finish traffic light node

* Add manual control launch file

* Make linter happy

* Add documentation

* Add missing traffic light detection model

* Fix color issues in rviz

* Limit simulator's max. RAM usage to prevent system crash

* fix: Linter fixes for other team's code
@JuliusMiller JuliusMiller self-assigned this Jan 25, 2024
@JuliusMiller JuliusMiller linked an issue Jan 25, 2024 that may be closed by this pull request
Copy link

Simulation results

Metric Value
Avg. driving score 0.027815
Avg. route completion 2.33
Avg. infraction penalty 0.211495
Collisions with pedestrians 0.0
Collisions with vehicles 28.646
Collisions with layout 9.549
Red lights infractions 0.0
Stop sign infractions 0.0
Off-road infractions 0.023
Route deviations 0.0
Route timeouts 3.183
Agent blocked 3.183
Yield emergency vehicles infractions 0.0
Scenario timeouts 6.366
Min speed infractions 0.0

Copy link
Collaborator

@samuelkuehnel samuelkuehnel left a comment

Choose a reason for hiding this comment

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

Approved!

Copy link
Collaborator

@samuelkuehnel samuelkuehnel left a comment

Choose a reason for hiding this comment

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

Approved!

Copy link

Simulation results

Metric Value
Avg. driving score 0.124383
Avg. route completion 4.495
Avg. infraction penalty 0.02593
Collisions with pedestrians 0.0
Collisions with vehicles 20.943
Collisions with layout 5.984
Red lights infractions 0.0
Stop sign infractions 0.0
Off-road infractions 0.016
Route deviations 0.0
Route timeouts 1.496
Agent blocked 1.496
Yield emergency vehicles infractions 0.0
Scenario timeouts 1.496
Min speed infractions 0.0

@JuliusMiller JuliusMiller merged commit b178e25 into main Jan 30, 2024
3 checks passed
@JuliusMiller JuliusMiller deleted the 159-feature-intersection-behaviour-testing branch January 30, 2024 10:37
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]: Intersection behaviour testing
3 participants