-
Notifications
You must be signed in to change notification settings - Fork 493
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
Port #3464 from MoveIt1 #2456
Port #3464 from MoveIt1 #2456
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2456 +/- ##
==========================================
+ Coverage 50.46% 50.81% +0.35%
==========================================
Files 385 391 +6
Lines 31831 32125 +294
==========================================
+ Hits 16061 16321 +260
- Misses 15770 15804 +34
☔ View full report in Codecov by Sentry. |
cherry-pick of moveit/moveit#3464
Doesn't work because previous=0 for all recursively called functions.
0e44397
to
ce8ee9c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for porting this over! Just a small comment not blocking comment
#include <moveit/utils/robot_model_test_utils.h> | ||
#include <moveit/planning_request_adapter/planning_request_adapter.h> | ||
|
||
class AppendingPlanningRequestAdapter final : public planning_request_adapter::PlanningRequestAdapter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding brief documentation for the classes and the test in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have time to do this. Maybe, @Hugal31 can do so?
On the other hand, these classes are rather trivial and the names already state their semantics quite well.
* 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>
moveit/moveit#3464 fixed an issue in the numbering of added path indices.
This PR ports this fix to MoveIt2. As the
added_path_index
vector was moved into theMotionPlanResponse
struct in #2285, I had to choose a slightly different approach.The first commit ports the (failing) unit test.
The second commit fixes the bug (and the test).