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

[Servo] Support single-element joint limit margins vector and fix joint halting logic for multi-DOF Joints #2970

Merged
merged 11 commits into from
Aug 15, 2024

Conversation

sea-bass
Copy link
Contributor

@sea-bass sea-bass commented Aug 13, 2024

Description

This PR allows the joint_limit_margins parameter of MoveIt Servo to be a single-element vector (and changes the defaults accordingly, so it works off-the-shelf with every robot).

It also fixes a not-yet-seen issue in which the joint halting logic would have failed if there were multi-DOF Joints. For those who were spammed by this PR, I was making sure this fix was correct, so please give it a look!

Closes #2843.

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

@sea-bass sea-bass force-pushed the update-servo-joint-limit-margins branch from 16efe91 to d4a42bc Compare August 13, 2024 00:58
Copy link
Contributor

@sjahr sjahr left a comment

Choose a reason for hiding this comment

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

Nice work! I have some comments but otherwise I think this is good to go soon

moveit_ros/moveit_servo/src/servo.cpp Show resolved Hide resolved
moveit_ros/moveit_servo/src/servo.cpp Outdated Show resolved Hide resolved
@sea-bass sea-bass requested a review from sjahr August 13, 2024 13:12
@sea-bass sea-bass force-pushed the update-servo-joint-limit-margins branch from 324305f to 8b9c067 Compare August 13, 2024 13:15
@sea-bass sea-bass added this pull request to the merge queue Aug 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 15, 2024
@sea-bass sea-bass enabled auto-merge August 15, 2024 02:11
@sea-bass sea-bass added this pull request to the merge queue Aug 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 15, 2024
@sjahr sjahr merged commit a693e3e into main Aug 15, 2024
10 of 13 checks passed
@sjahr sjahr deleted the update-servo-joint-limit-margins branch August 15, 2024 06:45
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.

MoveIt Servo includes a default joint_limit_margins that only works with a 7dof arm
2 participants