No contact reported when in marginal contact #22157
Labels
component: geometry proximity
Contact, distance, signed distance queries and related properties
component: multibody plant
MultibodyPlant and supporting code
priority: high
type: bug
What happened?
Jeremy Binagia reported this bug in Slack.
Jeremy provided a python reproduction here.
Essentially they place two geometries in marginal contact. The expectation is that geometry queries (through SG/QueryObject) and contact results queries (through MbP) are not empty. However they are. This implies that somehow the broadphase is not doing the right thing.
WIP PR #22153 reproduces this problem in a C++ unit test. We verify that the ProximityEngine does the right thing (when isntantiated through its internal APIs). However, the full pipeline creating a model with MbP leads to flawed results.
I believe there are two problems. One has to do with the propagation of defaults. But even if defaults are not in the picture (like in the unit tests), still margin is not propagating correctly.
Experiments with defaults are in this branch.
The text was updated successfully, but these errors were encountered: