Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

rpoyner-tri
Copy link
Contributor

@rpoyner-tri rpoyner-tri commented Jun 26, 2024

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

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.
@rpoyner-tri rpoyner-tri added the release notes: fix This pull request contains fixes (no new features) label Jun 26, 2024
Copy link
Contributor Author

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes: #21624.
+(release notes: fix) (don't do insanely slow waste work)
+@joemasterjohn for feature review.

Reviewable status: LGTM missing from assignee joemasterjohn, needs platform reviewer assigned, needs at least two assigned reviewers

Copy link
Contributor

@joemasterjohn joemasterjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: feature. +@EricCousineau-TRI for platform review, please.

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: LGTM missing from assignee EricCousineau-TRI(platform)

Copy link
Contributor

@EricCousineau-TRI EricCousineau-TRI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: platform

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignees EricCousineau-TRI(platform),joemasterjohn

@EricCousineau-TRI EricCousineau-TRI merged commit d638a3c into RobotLocomotion:master Jun 27, 2024
9 checks passed
joemasterjohn pushed a commit to joemasterjohn/drake that referenced this pull request Jul 1, 2024
…otLocomotion#21630)

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: fix This pull request contains fixes (no new features)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants