-
Notifications
You must be signed in to change notification settings - Fork 30
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 CollisionGroup bugs in Hand executors. #299
Conversation
BarrettHandKinematicSimulationPositionCommandExecutor::setCollideWith didn't set the CollisionGroup for the underlying position or spread executors. BarrettFingerKinematicSimulationPositionCommandExecutor::setCollideWith and BarrettFingerKinematicSimulationSpreadCommandExecutor::setCollideWith could result in a mismatch if the new CollisionGroup came from a different CollisionDetector.
Codecov Report
@@ Coverage Diff @@
## master #299 +/- ##
==========================================
+ Coverage 79.42% 81.17% +1.75%
==========================================
Files 202 202
Lines 5841 5865 +24
==========================================
+ Hits 4639 4761 +122
+ Misses 1202 1104 -98
|
Resolves #176.
I re-enabled the I'm not sure if this is another instance of https://github.com/personalrobotics/libherb/issues/43, but we should look into this soon. If these tests passed before #166, maybe we can isolate the cause by looking in there. |
Bugs fixed, thanks @gilwoolee! I mis-remembered what the preshapes should actually look like, so this resolves https://github.com/personalrobotics/libherb/issues/43 as well. |
* Fix CollisionGroup bugs in Hand executors. BarrettHandKinematicSimulationPositionCommandExecutor::setCollideWith didn't set the CollisionGroup for the underlying position or spread executors. BarrettFingerKinematicSimulationPositionCommandExecutor::setCollideWith and BarrettFingerKinematicSimulationSpreadCommandExecutor::setCollideWith could result in a mismatch if the new CollisionGroup came from a different CollisionDetector. * Re-enable BarrettHand tests. Resolves #176. * Add ball to collision checks. * Fix typo. * Bugfix for BarrettHandSimulator. Distal stops when proximal reaches its goal and not in collision. * Delete dead code and reformat BarrettHand tests. * Add tests for setCollideWith.
BarrettHandKinematicSimulationPositionCommandExecutor::setCollideWith
didn't callsetCollideWith
on the underlying position or spread executors. In addition, callingBarrettFingerKinematicSimulationPositionCommandExecutor::setCollideWith
andBarrettFingerKinematicSimulationSpreadCommandExecutor::setCollideWith
could result in a mismatch if the newCollisionGroup
came from a differentCollisionDetector
.This PR fixes the first issue and adds a
setFingerCollisionGroup
method to both finger executors, which updates the appropriate finger collision groups (if necessary).I think this resolves #271. (I didn't see the
setCollideWith
methods when I created the issue earlier.)Before creating a pull request
make format
Before merging a pull request
CHANGELOG.md