Skip to content

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

Merged
AndyZe merged 1 commit into
moveit:mainfrom
sea-bass:fix-servo-sudden-halt
Jun 6, 2023
Merged

AndyZe merged 1 commit into
moveit:mainfrom
sea-bass:fix-servo-sudden-halt

Conversation

@sea-bass

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

Copy link
Copy Markdown
Contributor

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
@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.

3 participants