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
@@ -19,6 +19,7 @@
19
19
- Add `ViewerRTX`, a real-time ray-traced viewer powered by NVIDIA OVRTX.
20
20
- Support negative (mirrored) scale on mesh, convex hull, and SDF shapes, so a single `Mesh` instance can be shared across shapes with different signed scales without re-baking
21
21
- Add `newton.utils.ColorSpace`, `color_srgb_to_linear()`, `color_linear_to_srgb()`, and `SensorTiledCamera.RenderConfig.output_color_space` for color-space boundaries
22
+
- Add USD parsing for contact response attributes (`ke`, `kd`, `kf`, `ka`) from `NewtonMaterialAPI` on bound materials
22
23
23
24
### Changed
24
25
@@ -35,6 +36,7 @@
35
36
36
37
- 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.
37
38
- Deprecate implicit positive Dahl defaults in `SolverVBD.register_custom_attributes()`. Pass `dahl_defaults_enabled=False` and explicitly author positive `model.vbd.dahl_eps_max` and `model.vbd.dahl_tau` values when Dahl cable friction is desired, instead of relying on registered default values.
39
+
- Deprecate `newton:contact_ke`/`newton:contact_kd` custom attributes on shape prims; author `newton:contactStiffness`/`newton:contactDamping` on the bound `NewtonMaterialAPI` material instead
0 commit comments