Repository navigation
reset moveit_msgs::RobotState.is_diff to false - #968
Merged
rhaschke merged 2 commits intoJul 4, 2018
Merged
Conversation
Currently once robot_state.is_diff has been set to true it will stay so. This breaks detaching attached objects. This is a fix for a regression introduced in #939
Contributor
|
I approve this patch with reservations (see below). On the other hand this wouldn't even be a problem if robotStateToRobotStateMsg used here and here would clear the |
improves clarity
Contributor
Author
|
I think we should actually have both fixes. Recycling the message does not give any relevant performance wins but relying on the default value is also hard to follow. |
v4hn
approved these changes
Jul 3, 2018
v4hn
left a comment
Contributor
There was a problem hiding this comment.
Thanks for adding the explicit is_diff=false too.
rhaschke
approved these changes
Jul 4, 2018
rhaschke
pushed a commit
to ubi-agni/moveit
that referenced
this pull request
Jul 4, 2018
Reset moveit_msgs::RobotState.is_diff to false whenever actually filling a RobotState msg. This fixes a regression introduced in moveit#939.
dg-shadow
pushed a commit
to shadow-robot/moveit
that referenced
this pull request
Jul 30, 2018
Reset moveit_msgs::RobotState.is_diff to false whenever actually filling a RobotState msg. This fixes a regression introduced in moveit#939.
mayman99
pushed a commit
to mayman99/moveit
that referenced
this pull request
Aug 25, 2018
Reset moveit_msgs::RobotState.is_diff to false whenever actually filling a RobotState msg. This fixes a regression introduced in moveit#939.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently once robot_state.is_diff has been set to true it will stay so. This breaks detaching attached objects. This is a fix for a regression introduced in #939