RobotLocomotion / drake

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

[geometry] Avoid slowdown of SceneGraph::GetDirectFeedthroughs() #21630

Closed rpoyner-tri closed 6 days ago

rpoyner-tri commented 1 week ago

Use an explicit list of dependency tickets in SceneGraph to avoid a pile of useless reifications of proximity geometry. The useless work is triggered if the base class LeafSystem::GetDirectFeedthroughs() implementation falls back on its technique of making a SystemSymbolicInspector, which needs to build an Expression-typed SceneGraph context.


This change is Reviewable