You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parse contact response attributes from NewtonMaterialAPI
Read ke/kd/kf/ka from NewtonMaterialAPI on bound materials during USD
import. The schema resolver resolves these across Newton, PhysX
(compliantContactStiffness/Damping), and MuJoCo (solref) at the
MATERIAL level, with configurable resolver priority.
Legacy newton:contact_ke/kd custom attributes on shape prims are
retained as a fallback when no material value is authored, emitting a
DeprecationWarning at resolve time directing users to the
NewtonMaterialAPI attrs. MuJoCo mjc:solref on material prims is
similarly deprecated. Explicitly authoring -inf on a material attr
("use engine default") blocks legacy fallback.
Requires newton-usd-schemas>=0.3.0.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
- Add robotics tutorial notebook covering ModelBuilder, solvers, CUDA graphs, IK, and pick-and-place
13
13
- Add `newton.utils.OnnxRuntime`, a graph-capturable ONNX inference engine backed solely by Warp kernels (no `onnxruntime` or `torch` runtime dependency); used by `ControllerNeuralMLP` and `ControllerNeuralLSTM` to load `.onnx` policies. To migrate a TorchScript policy, run `torch.onnx.export(model, dummy_input, "policy.onnx", opset_version=17)` once and point the controllers at the resulting `.onnx` file. The `onnx` package is now an optional extra (`pip install newton[onnx]`); install it explicitly to use the ONNX runtime.
14
14
- Add USD parsing for `NewtonSiteAPI` to mark shapes as sites.
15
+
- Add USD parsing for contact response attributes (`ke`, `kd`, `kf`, `ka`) from `NewtonMaterialAPI` on bound materials
15
16
16
17
### Changed
17
18
@@ -22,6 +23,7 @@
22
23
### Deprecated
23
24
24
25
- Deprecate loading `.pt` / `.pth` (TorchScript) checkpoints via `ControllerNeuralMLP`; the legacy TorchScript / dict-checkpoint path still works (with a `DeprecationWarning`) when PyTorch is installed but will be removed in a future release. `ControllerNeuralLSTM` requires re-exporting to ONNX with the metadata properties documented in its class docstring; pointing it at a `.pt` checkpoint now raises `NotImplementedError` with migration guidance. Convert the MLP checkpoint to ONNX once with `torch.onnx.export(model, dummy_input, "policy.onnx", opset_version=17)` and load the resulting `.onnx` file.
26
+
- Deprecate `newton:contact_ke`/`kd` custom attributes on shape prims; author `newton:contactStiffness`/`newton:contactDamping` on the bound `NewtonMaterialAPI` material instead
0 commit comments