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(behavior_path_planner): move lane_following_params to behavior path params #3445

Merged
merged 3 commits into from
Apr 18, 2023

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Apr 17, 2023

Description

move lane_following_params to behavior path common params

this is not just refactor, some parameter values of lane following will be changed,

  • lane_change_prepare_duration: 2.0 -> 4.0
  • distance_threshold: 5.0 # [m] -> ego_nearest_dist_threshold: 3.0 # [m]
  • yaw_threshold: 0.79 # [rad] -> ego_nearest_yaw_threshold: 1.046 # [rad] = 60 [deg]

threshold params is similar to https://github.com/autowarefoundation/autoware.universe/blob/main/planning/static_centerline_optimizer/config/nearest_search.param.yaml, so use it

Related links

autowarefoundation/autoware_launch#302

Tests performed

Notes for reviewers

Interface changes

Effects on system behavior

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

…ath params

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@github-actions github-actions bot added component:launch Launch files, scripts and initialization tools. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) labels Apr 17, 2023
Copy link
Contributor

@satoshi-ota satoshi-ota left a comment

Choose a reason for hiding this comment

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

Nice work. LGTM.

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@codecov
Copy link

codecov bot commented Apr 18, 2023

Codecov Report

Patch coverage: 21.42% and project coverage change: +0.07 🎉

Comparison is base (80385ab) 13.25% compared to head (f9488ac) 13.32%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3445      +/-   ##
==========================================
+ Coverage   13.25%   13.32%   +0.07%     
==========================================
  Files        1384     1385       +1     
  Lines       97018    98090    +1072     
  Branches    28213    28991     +778     
==========================================
+ Hits        12855    13071     +216     
- Misses      70354    71018     +664     
- Partials    13809    14001     +192     
Flag Coverage Δ *Carryforward flag
differential 12.41% <21.42%> (?)
total 13.24% <ø> (-0.01%) ⬇️ Carriedforward from 80385ab

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

Impacted Files Coverage Δ
...anner/include/behavior_path_planner/parameters.hpp 0.00% <ø> (ø)
.../include/behavior_path_planner/planner_manager.hpp 0.00% <ø> (ø)
...ne_module/lane_following/lane_following_module.hpp 100.00% <ø> (ø)
...nner/include/behavior_path_planner/utils/utils.hpp 100.00% <ø> (ø)
...or_path_planner/src/behavior_path_planner_node.cpp 23.63% <0.00%> (+4.71%) ⬆️
planning/behavior_path_planner/src/utils/utils.cpp 22.58% <0.00%> (+3.02%) ⬆️
...test/test_behavior_path_planner_node_interface.cpp 8.33% <ø> (ø)
...ne_module/lane_following/lane_following_module.cpp 72.22% <60.00%> (+4.65%) ⬆️

... and 7 files with indirect coverage changes

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kosuke55 kosuke55 merged commit 218a340 into main Apr 18, 2023
@kosuke55 kosuke55 deleted the feat/move_lane_following_params branch April 18, 2023 04:35
Mingyu1991 pushed a commit to Mingyu1991/autoware.universe that referenced this pull request Jun 26, 2023
…ath params (autowarefoundation#3445)

* feat(behavior_path_planner): move lane_following_params to behavior path params

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* fix missing pakage include

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* fix test

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: Mingyu Li <mingyu.li@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:launch Launch files, scripts and initialization tools. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants