RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.36k stars 1.27k forks source link

[geometry] Non-determinism in signed distance results (proximity generally) #13739

Open SeanCurtis-TRI opened 4 years ago

SeanCurtis-TRI commented 4 years ago

Issue #13736 called out non-determinism in contact results that was leading simulations that should deterministically proceed along the same trajectory to diverge (with #13737 addressing that issue). However, as outlined in these comments (comment1, comment2), the same reasoning needs to be extended to distance queries. Such that, if I ask about distance between A and B, or B and A, I'll get the same result, down to the last bit. And sets of results should be guaranteed to be consistently ordered so operations that sequentially operate on the distance results will likewise perform the math in a consistent order.

As of 2024-07-09 we have the following methods in ProximityEngine with the following properties:

jwnimmer-tri commented 4 months ago

To be very clear, there are two distance queries that appear to be missing determinism, and we need to fix both (or prove that it's already fixed) before calling this done: