Repository navigation
Backport ruckig trajectory_processing plugin - #2902
Conversation
|
Please be aware, this won't work great until 712 is included. |
I'm not sure as to the state of it, but patch-c++11.sh is included with Ruckig to avoid this 'dependency'. It's been used successfully by quite a nr of people (PLCs, other limited runtime environments). |
Thanks for the reminder, then let's wait until that has been merged and I'll include it here
I'd favor adding an exception for non-public targets/code instead of extra maintenance efforts |
|
should also include moveit/moveit2#777 |
|
Trying to test this, it looks like I'm not able to install the Ruckig binary. Any ideas?
(I only have melodic available conveniently) |
|
I needed to update the cache: |
|
Hi, Is this still being considered for backport? I'm currently using noetic and would like to try this out with moveit. Is there an estimated timeline for merging this? |
|
There are some more commits in the PRs linked in the discussion that need to be included. No estimate when I'll do it. You could open a PR with those commits against my branch if you want to speed things up |
|
@prasuchit I think you should open your own PR to update this one, too. It should be as easy as copy-pasting the source code from MoveIt2 main branch. |
|
I've used the moveit master branch and added the ruckig related changes based on moveit2 master branch and pushed it here. @AndyZe @simonschmeisser , could you try to compile this on your system and let me know if it succeeds? I think my cmake version doesn't support "moveit_build_options()", which is used in CMakeLists of latest version of moveit. Because of this I'm unable to verify my changes. Given that I'm no expert in Moveit's internal structure or anything ruckig related, I might have missed something/made errors somewhere, if so, please let me know and I'll correct them. :) |
|
I'm confused why you would make a PR that you personally can't even use ;) but I'm happy to review it anyway. Is there something strange with your situation that prevents you from using Noetic? |
|
Hi @AndyZe , I haven't raised a PR yet, it's on my fork created from @simonschmeisser 's version of the backport. This is the first time I'm adding to a package as large as moveit so I wanted to verify it first with you guys. I can use noetic without any issues, just the moveit source compilation fails because the latest moveit repo uses some cmake options that aren't being recognized by my current version. I thought instead of getting distracted by a different issue, I can get your help to fix the problem at hand. |
03c296c to
13dd612
Compare
|
I just rebased my backport to the current state of MoveIt 1 master branch. What you could do now is to use |
|
There are a few more commits and PRs that went into the ruckig plugin so maybe actually @AndyZe hands-on approach of copy-pasting and adapting the final resulting file makes more sense than trying to cherry pick all of the commits from https://github.com/ros-planning/moveit2/commits/main/moveit_core/trajectory_processing/src/ruckig_traj_smoothing.cpp individually |
|
I'm going to try to get this across the finish line now 👍 |
…oveIt2 moveit#571) Co-authored-by: Wyatt Rees <[email protected]> Co-authored-by: Jack <[email protected]>
* Implement a check for identical waypoints * Add duration extension. It allows much faster motion * Reset Ruckig before duration extension * Readability and style updates * Parameterize max attempts by fraction rather than num. attempts * Fix type error. Do not copy trajectory * Boolean simplification * Style cleanup * Make an issue for Ruckig pass_to_input() replacement * Use make_unique rather than .reset() * Start a unit test * Two compiling tests * Three passing tests :) * Rucking "Finished" state is acceptable, too
9de5776 to
f9523da
Compare
|
Given that |
What makes that |
Sorry, you are right! The error message from the failing CI build made me conclude that Looks like this is another issue. I will have a look... |
Codecov ReportBase: 57.17% // Head: 62.02% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2902 +/- ##
==========================================
+ Coverage 57.17% 62.02% +4.86%
==========================================
Files 334 380 +46
Lines 30220 33593 +3373
==========================================
+ Hits 17274 20834 +3560
+ Misses 12946 12759 -187
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. |
|
Everything is compiling now. But there is a test failure on Melodic. Somebody with more insight should handle this... |
ff60641 to
160e6a7
Compare
|
OK, this should be 100% synched with MoveIt2 now, and I've just tested it. 👍 |
|
After having merged this PR, GHA fails now on ruckig tests - but only for one out of 3 builds?! Same for the prerelease test. |
|
OK, I'll look into it. Thanks |
|
It doesn't seem to be related to a |
|
That's fine with me, for now. It's going to take awhile to look into this strange error, I think. Do you want to make a PR? |
Description
This is a backport of moveit/moveit2#571
"Unfortunately" ruckig requires C++ 17 for its headers so this changes the
moveit_default_planning_request_adapter_pluginsto compile with C++ 17. It's a private property so it does not propagate anywhere and especially does not lead to any dependent code or project requiring C++ 17Checklist