-
Notifications
You must be signed in to change notification settings - Fork 43
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
bullet-featherstone: Enforce joint velocity and effort limits for velocity control commands #658
Conversation
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
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 haven't tried it out yet, but the code looks good. Just a few minor comments.
Signed-off-by: Ian Chen <ichen@openrobotics.org>
…into vel_effort_limits
Signed-off-by: Ian Chen <ichen@openrobotics.org>
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.
Other than the dartsim test being skipped, this looks good to me. I've verified locally that the limits work.
Steve has removed homebrew CI from the required CI checks while the DART fix is in progress. We can go ahead and merge this PR. |
🎉 New feature
Closes #
Summary
Updated
SetJointVelocityCommand
to enforce joint limits byAdded the following features:
Test it
Enabled tests in joint_features related to testing joint limits using velocity control. There are still issues with force control so those tests remain disabled in bullet-featherstone
Note I added collisions to the
simple_joint_test
intest.world
(used by various joint limit tests) because bullet-featherstone requires a link to have collisions otherwise the joints do not move.Here's a joint_limits.sdf world that consists of a simple model with JointPositionController
Before: joint limits not enforced so joint rotates at a high speed

After: joint limits enforced

Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.