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

fix(behavior_path_planner_common): swap boolean for filterObjectsByVelocity #9036

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

go-sakayori
Copy link
Contributor

@go-sakayori go-sakayori commented Oct 4, 2024

Description

Function filterObjectsByVelocity has an argument remove_above_threshold which is used to ignore the upper limit or not.
The upper velocity limit would be ignored when the value is false and it might lead to misunderstanding.
This PR swaps the condition, by ignoring the upper velocity limit when remove_above_threshold is true.

Related links

None

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@go-sakayori go-sakayori added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 4, 2024
Copy link

codecov bot commented Oct 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 26.50%. Comparing base (338deba) to head (b5faf8f).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...rc/utils/path_safety_checker/objects_filtering.cpp 0.00% 2 Missing ⚠️
...th_goal_planner_module/src/goal_planner_module.cpp 0.00% 1 Missing ⚠️
..._start_planner_module/src/start_planner_module.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9036      +/-   ##
==========================================
- Coverage   26.52%   26.50%   -0.02%     
==========================================
  Files        1296     1302       +6     
  Lines       95711    95755      +44     
  Branches    38974    38975       +1     
==========================================
  Hits        25383    25383              
- Misses      67721    67765      +44     
  Partials     2607     2607              
Flag Coverage Δ *Carryforward flag
differential 15.45% <0.00%> (?)
total 26.52% <ø> (+<0.01%) ⬆️ Carriedforward from 338deba

*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.

@go-sakayori go-sakayori merged commit f85bf32 into autowarefoundation:main Oct 7, 2024
43 of 44 checks passed
@go-sakayori go-sakayori deleted the fix/bpp_filter_object branch October 7, 2024 00:25
prakash-kannaiah pushed a commit to prakash-kannaiah/autoware.universe that referenced this pull request Oct 9, 2024
…locity (autowarefoundation#9036)

fix filter object by velocity

Signed-off-by: Go Sakayori <[email protected]>
Signed-off-by: prakash-kannaiah <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (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.

3 participants