-
Notifications
You must be signed in to change notification settings - Fork 491
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
[Servo] Update MoveIt Servo to use generate_parameter_library #2096
Conversation
Thanks for the initiative! I will review the PR as you progress. Just an initial feedback to get the formatting CI check passing - install pre-commit |
There is a |
Please do remove it, if possible 👍 |
Turns out it is used in // use the shared pool to create a message more efficiently
auto msg = moveit::util::make_shared_from_pool<geometry_msgs::msg::TwistStamped>(); @AndyZe , could this be replaced with a |
Can you please create an issue about it and we'll decide later. It doesn't matter for this PR, in fact it would be nice to keep it separate from this PR. |
83fe392
to
fc5756e
Compare
At present , the parameters do not have a "moveit_servo" prefix like before. Another question is, if the default values in the |
22e5b27
to
32ff5fa
Compare
6660bc8
to
46196d3
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.
Took another pass through and only saw a few small things.
I will also say that you can run First, make sure you build your workspace with the
Then, from that same workspace root:
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2096 +/- ##
==========================================
- Coverage 50.83% 50.48% -0.35%
==========================================
Files 391 387 -4
Lines 32158 31819 -339
==========================================
- Hits 16345 16061 -284
+ Misses 15813 15758 -55
... and 1 file 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. |
Co-authored-by: Sebastian Castro <4603398+sea-bass@users.noreply.github.com>
Bringing this up again since I just found out the tests were passing because of the default values and not loading the config properly. |
Ideally all these parameters that are specific to the robot would NOT have defaults so they throw an error if not configured. Thanks for taking the time to address these issues instead of sweeping them under the rug.
|
The tests fail properly now if the parameters are not specified during launch. |
Maybe the parameters that use default values should be removed from the configs in the Earlier the full list of parameters were really only available if you looked at the header file. It might also be good to move the files in These changes should probably be done in a separate "cleanup" PR since these are mostly "nice to have". |
Just waiting on a review from a second maintainer now... |
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.
Looks good to me as well -- let's do this. Thanks, @ibrahiminfinite!
Thanks for the guidance! |
Co-authored-by: Sebastian Castro <4603398+sea-bass@users.noreply.github.com>
@ibrahiminfinite this broke the tutorials from building, would you mind updating the tutorials site? |
Yea sure . |
I have the same problem and I'm waiting the moveit2_tutorials update, especially, moveit2_tutorials/doc/how_to_guides/isaac_panda and branch humble |
Description
This PR modifies Moveit Servo to use the
generate_parameter_library
to load the servo parameters.Fixes #2095
Checklist