Fix goal position tolerances from box primitive #35
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.
Converting a position constraint from a box primitive with dimension into absolute tolerances results in
doubling the tolerances wrt. the pose of the box. The sphere primitive doesn't suffer from this because the radius is taken and not the diameter. This may also resolve PR #25.
The goal position constraint used in the images below is a box primitive (see white box from left image). The start state is always the start of the segment path (leftmost).
The first two images below is the result of one run of STOMP using the described constraint. The end goal of the STOMP segment (rightmost)
panda_link8
should be within the white box. I guess that STOMP chooses a random end goal within the constraint. We clearly see that the goal tolerances are not respected.With this PR, the goal (blue line rightmost segment) is within the white box tolerances.