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 the added path index vector merge in PlanningRequestAdapterChain #3464

Merged
merged 3 commits into from Sep 25, 2023

Conversation

Hugal31
Copy link
Contributor

@Hugal31 Hugal31 commented Jun 28, 2023

Description

When merging the added_path_index for the different planning request adapters, the PlanningRequestAdapterChain was adding them in the wrong order, causing wrong incrementation of the indices.

Closes #3463.

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

@Hugal31 Hugal31 requested a review from rhaschke as a code owner June 28, 2023 12:02
@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01% ⚠️

Comparison is base (69ca441) 61.83% compared to head (665ba0b) 61.81%.
Report is 17 commits behind head on noetic-devel.

❗ Current head 665ba0b differs from pull request most recent head 853f7e6. Consider uploading reports for the commit 853f7e6 to get more accurate results

Additional details and impacted files
@@               Coverage Diff                @@
##           noetic-devel    #3464      +/-   ##
================================================
- Coverage         61.83%   61.81%   -0.01%     
================================================
  Files               385      385              
  Lines             34064    34090      +26     
================================================
+ Hits              21059    21071      +12     
- Misses            13005    13019      +14     
Files Changed Coverage Δ
...g_request_adapter/src/planning_request_adapter.cpp 62.50% <100.00%> (+9.31%) ⬆️

... and 11 files with indirect coverage changes

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

@Hugal31 Hugal31 force-pushed the fix/added-path-index-merge branch from ff26adc to d85a462 Compare June 29, 2023 07:20
When merging the `added_path_index` for the different planning request
adapters, the `PlanningRequestAdapterChain` was adding them in the
wrong order, causing wrong incrementation of the indices.

Closes moveit#3463.
@Hugal31 Hugal31 force-pushed the fix/added-path-index-merge branch from d85a462 to 3cec193 Compare June 29, 2023 07:32
Copy link
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

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

Thanks for finding this bug and providing a fix!

@rhaschke rhaschke merged commit f8241d8 into moveit:noetic-devel Sep 25, 2023
5 checks passed
rhaschke pushed a commit to rhaschke/moveit2 that referenced this pull request Oct 16, 2023
rhaschke pushed a commit to rhaschke/moveit2 that referenced this pull request Oct 17, 2023
sjahr pushed a commit to moveit/moveit2 that referenced this pull request Oct 18, 2023
* Port unit test

cherry-pick of moveit/moveit#3464

* Increment added_path_index in callAdapter

Doesn't work because previous=0 for all recursively called functions.

* Pass individual add_path_index vectors to callAdapter

---------

Co-authored-by: Hugal31 <hla@lescompanions.com>
m-elwin pushed a commit to m-elwin/moveit2 that referenced this pull request Dec 4, 2023
* Port unit test

cherry-pick of moveit/moveit#3464

* Increment added_path_index in callAdapter

Doesn't work because previous=0 for all recursively called functions.

* Pass individual add_path_index vectors to callAdapter

---------

Co-authored-by: Hugal31 <hla@lescompanions.com>
@Hugal31 Hugal31 deleted the fix/added-path-index-merge branch April 29, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PlanningRequestAdapterChain merge the added path indices in the wrong order
2 participants