forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend public API to provide ability to assign roles.
This introduces a parallel API for registering geometry: Register*WithoutRole(). Previous commits had introduced roles internally and all geometries were registered with both proximity and illustration roles by default. This alternate API registers the geometry with the same effect, but without any default roles assigned. The parallel API will be used to migrate all the call sites over to the new paradigm (of having to assign roles at the registration site). Once those have been moved, the old API will be replaced with the new (and names will be swapped). The majority of the new code is in the geometry state unit tests. In addition to testing the new AssignRole() methods, Role-dependent count methods, and role assignment from geometry instances, it also includes new unit tests on old code that is now impacted by roles (e.g., collision filtering).
- Loading branch information
1 parent
9482368
commit f6a8524
Showing
12 changed files
with
857 additions
and
106 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.