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

Fix Servo suddenHalt() to halt at original state, not commanded #2229

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

sea-bass
Copy link
Contributor

@sea-bass sea-bass commented Jun 6, 2023

Found this bug against MoveIt Studio, where hitting a joint limit would make the arm continue moving since we were grabbing internal_joint_state_ and not previous_joint_state_ for the suddenHalt() function.

Even the comment a few lines above says:

  // Set the position to the original position, and velocity to 0 for input joints

@sea-bass sea-bass assigned AndyZe and unassigned AndyZe Jun 6, 2023
@sea-bass sea-bass changed the title Fix Servo suddenHalt() to halt at previous state, not current Fix Servo suddenHalt() to halt at previous state, not current Jun 6, 2023
@sea-bass sea-bass changed the title Fix Servo suddenHalt() to halt at previous state, not current Fix Servo suddenHalt() to halt at original state, not commanded Jun 6, 2023
@sea-bass sea-bass requested a review from AndyZe June 6, 2023 14:33
@AndyZe AndyZe enabled auto-merge (squash) June 6, 2023 14:38
@AndyZe AndyZe merged commit de1610d into moveit:main Jun 6, 2023
6 of 7 checks passed
@sea-bass sea-bass deleted the fix-servo-sudden-halt branch June 6, 2023 14:48
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.

None yet

3 participants