Repository navigation
Simplify Newton coupler proxy resolution and solver-config forwarding - #5
Merged
Merged
Conversation
9 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR simplifies the Newton coupler's proxy and ADMM configuration handling on top of the
NewtonCouplerManagerrename. It reduces the coupler surface, removes a redundant per-proxy override path, and reuses existing helpers so the config-to-Newton translation is smaller and clearer.Proxy configuration
CouplerProxyMappingCfgnow accepts raw Newton body ids directly, alongside the existing scene-entity and label-regex selectors._ResolvedProxydataclass, so the resolved config is forwarded straight to Newton'sSolverCoupledProxy.Proxyvia its own fields.ADMM configuration
_filter_solver_kwargshelper to populateSolverCoupledADMM.Configfrom exactly the fields it declares, instead of diffing parent and child dataclass fields.Selector resolution
_resolve_entities_to_body_idshelper shared by entries and proxies.Breaking change
shape_material_ke/kd/mu,shape_margin,shape_gap) and the_apply_proxy_shape_overridespass are removed.NewtonMaterialCfg) and the model-globalNewtonShapeCfgdefaults instead of the coupler-specific override.Tests and changelog
isaaclab_contribchangelog fragment is refreshed to reflect the removed fields.Type of change
Screenshots
Not applicable; this change affects coupler configuration and logic with no visual output.
Checklist
pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bumpextension.toml— CI handles that)CONTRIBUTORS.mdor my name already exists there