This repository has been archived by the owner on Nov 13, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 118
Conversation
This file contains 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
rhaschke
added a commit
that referenced
this pull request
Jul 21, 2016
fixes raise conditions in updating of PlanningScene state - unlock mutexes in reverse order of locking - PlanningSceneMonitor::syncSceneUpdates(ros::Time): sync all scene updates upto given time - syncSceneUpdates() after execution of trajectories & before fetching current robot state - sync scene update before starting planning - validate trajectory before execution - final fixup #724
rhaschke
added a commit
that referenced
this pull request
Jul 21, 2016
This generally improves the branch again, so I'll merge it now. However, @rhaschke phoned me last Friday and we agreed on some simplifications in the code structure. |
@v4hn Realizing the simplification we agreed on in the phone call turned out to be rather difficult:
Some more thoughts:
|
Continue discussion in #728. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
There was a typo introduced when fixing review comments.
However, more important, another race condition showed up when using continuous controllers:
Due to throttling of planning scene updates in move_group's PSM, it takes a while until these updates are published and thus can be received e.g. in rviz. Hence, we need to wait for planning scene updates to arrive for a while (1s). As soon as an update arrives, waiting is finished.