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

feat(lane_departure_checker): better cubstones's search #5582

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Nov 14, 2023

Description

Without the PR, the curbstones have to be the boundary of the route lanelet to make the lane_departure_checker work.
With the PR, any curbstones can be used by the lane_departure_checker.

To use this feature of lane_departure_checker considering the curbstones, boundary_departure_checker should be true and boundary_types_to_detect should include curbstone.

Most of the implementation of boundarys' search with RTree is from drivable area expansion in the behavior_path_planner.

Tests performed

psim

Effects on system behavior

nothing by default

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@github-actions github-actions bot added the component:control Vehicle control algorithms and mechanisms. (auto-assigned) label Nov 14, 2023
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@takayuki5168 takayuki5168 marked this pull request as ready for review November 14, 2023 12:16
@takayuki5168 takayuki5168 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 14, 2023
Copy link

codecov bot commented Nov 14, 2023

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (ea12d77) 15.25% compared to head (9aab27a) 15.19%.
Report is 9 commits behind head on main.

Files Patch % Lines
..._departure_checker_node/lane_departure_checker.cpp 0.00% 28 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5582      +/-   ##
==========================================
- Coverage   15.25%   15.19%   -0.06%     
==========================================
  Files        1717     1717              
  Lines      118382   119424    +1042     
  Branches    37910    38665     +755     
==========================================
+ Hits        18061    18149      +88     
- Misses      79668    80541     +873     
- Partials    20653    20734      +81     
Flag Coverage Δ *Carryforward flag
differential 12.28% <0.00%> (?)
total 15.25% <ø> (+<0.01%) ⬆️ Carriedforward from ea12d77

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara left a comment

Choose a reason for hiding this comment

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

LGTM!

@takayuki5168 takayuki5168 merged commit 3876716 into autowarefoundation:main Nov 16, 2023
35 of 38 checks passed
@takayuki5168 takayuki5168 deleted the feat/lane-departure-checker-curbstone-search branch November 16, 2023 02:48
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request Nov 22, 2023
…dation#5582)

* feat(lane_departure_checker): better cubstones's search

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:control Vehicle control algorithms and mechanisms. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants