Add the ability to pass configuration space obstacles for collision checker #21847
Labels
component: planning and control
Optimization-based planning and control, and search- and sampling-based planning
type: feature request
In the Iris workflow, we have found it useful to have the notion of convex, configuration space obstacles. We would like all the Iris workflows to use
CollisionChecker
as a common interface and the notion of configuration space obstacles is also useful in theIrisFromCliqueCovers
work. There are essentially two ways to achieve this.1.) Have
CollisionChecker
have a memberconfiguration_space_obstacles
which are checked for collisions.2.) Introduce a new class
CollisionCheckerWithCspaceCollisionChecker
. This classhas-a
collision-checkerchecker_
andis-a
collision checker. The memberchecker_
is called for essentially all operations. The only method that is really modified isDoCheckContextConfigCollisionFree
. A draft PR of this is available at #21846Despite the slightly more complicated implementation of option 2, I am in favor of it to avoid
CollisionChecker
depending ongeometry/optimization
and avoid adding additional concepts toCollisionChecker
which might not be needed by downstream users.cc @RussTedrake , @Michaelszeng , @wernerpe , @cohnt , @calderpg-tri , @jwnimmer-tri for feedback.
The text was updated successfully, but these errors were encountered: