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): add braking distance offset to avoid unwanted move after stop #2712

Merged

Conversation

brkay54
Copy link
Member

@brkay54 brkay54 commented Jan 21, 2023

Signed-off-by: Berkay Karaman brkay54@gmail.com

Description

In current implementation, braking distance is 0.0 if the velocity is 0.0. It causes unwanted motion, for example, if vehicle's footprint will be out of the lane, lane_departure_checker make the vehicle stop. After vehicle slow down, braking distance is getting smaller and footprint won't be out of the lane and vehicle starts to moving. It continues like stop, move, stop, move and so on.

To avoid this problem, I want to suggest that adding offset to braking distance as optional.

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.

…wanted move after stop

Signed-off-by: Berkay Karaman <brkay54@gmail.com>
@brkay54 brkay54 added the component:control Vehicle control algorithms and mechanisms. (auto-assigned) label Jan 21, 2023
@brkay54 brkay54 added this to the Bus ODD Jan-Feb Milestone milestone Jan 21, 2023
@brkay54 brkay54 requested a review from mehmetdogru January 21, 2023 16:01
@brkay54 brkay54 self-assigned this Jan 21, 2023
@brkay54 brkay54 requested a review from a team as a code owner January 21, 2023 16:01
@kosuke55
Copy link
Contributor

thanks, you can fix pre-commit.ci by pre-commit run -a

Signed-off-by: Berkay Karaman <brkay54@gmail.com>
@brkay54 brkay54 requested a review from kosuke55 January 21, 2023 17:57
Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

LGTM!

@codecov
Copy link

codecov bot commented Jan 21, 2023

Codecov Report

Base: 11.57% // Head: 11.55% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (6fcd365) compared to base (e94ff60).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2712      +/-   ##
==========================================
- Coverage   11.57%   11.55%   -0.02%     
==========================================
  Files        1302     1302              
  Lines       90790    90951     +161     
  Branches    23970    24076     +106     
==========================================
+ Hits        10510    10511       +1     
- Misses      69285    69429     +144     
- Partials    10995    11011      +16     
Flag Coverage Δ *Carryforward flag
differential 4.72% <0.00%> (?)
total 11.57% <0.00%> (ø) Carriedforward from e94ff60

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

Impacted Files Coverage Δ
.../lane_departure_checker/lane_departure_checker.hpp 0.00% <ø> (ø)
..._departure_checker_node/lane_departure_checker.cpp 0.00% <0.00%> (ø)
...rture_checker_node/lane_departure_checker_node.cpp 0.56% <0.00%> (+0.15%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@brkay54 brkay54 added the priority:high High urgency and importance. label Jan 23, 2023
@kosuke55
Copy link
Contributor

@brkay54 @xmfcx
could you please check autowarefoundation/autoware_launch#184?

soblin pushed a commit to soblin/autoware.universe that referenced this pull request Jan 27, 2023
…wanted move after stop (autowarefoundation#2712)

Signed-off-by: Berkay Karaman <brkay54@gmail.com>
maxime-clem pushed a commit to maxime-clem/autoware.universe that referenced this pull request Jan 30, 2023
…wanted move after stop (autowarefoundation#2712)

Signed-off-by: Berkay Karaman <brkay54@gmail.com>
lexavtanke pushed a commit to lexavtanke/autoware.universe that referenced this pull request Jan 31, 2023
…wanted move after stop (autowarefoundation#2712)

Signed-off-by: Berkay Karaman <brkay54@gmail.com>
Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
asana17 pushed a commit to asana17/autoware.universe that referenced this pull request Feb 8, 2023
…wanted move after stop (autowarefoundation#2712)

Signed-off-by: Berkay Karaman <brkay54@gmail.com>
@brkay54 brkay54 deleted the add-offset-lane-departure-checker branch April 27, 2023 22:55
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) priority:high High urgency and importance.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants