Repository navigation
[Backport] PR #7713 to release/3.0.0 - #7746
kellyguo11 merged 8 commits into
Conversation
|
run-ci |
There was a problem hiding this comment.
Isaac Lab Review Bot
The backport consistently enables native Newton actuators by default and preserves the legacy opt-out, but its Isaac Lab changelog fragment does not clearly describe the resulting breaking actuator-access change or its migration path.
- Design and architecture: Native-actuator activation is limited consistently across Newton, PhysX, and OVPhysX to articulations with explicit actuator groups, while implicit-only articulations remain on the standard solver-drive path. The Newton environment-count lifecycle changes pair teardown reset with model-world fallback initialization.
- API: The public default change is documented, but the release note omits that explicit
Articulation.actuators[name]entries can now expose Newton actuator objects rather than Isaac Lab models. Mark this consequence as breaking and direct users to the group-parameter accessors oruse_newton_actuators=False. - Implementation: The backend preparation gates, downstream native-path guards, Newton manager lifecycle pairing, and ThrusterCfg compatibility opt-outs are coherent. The actionable issue is confined to release-note coverage of the changed actuator access contract.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| Changed | ||
| ^^^^^^^ | ||
|
|
||
| * Changed :attr:`~isaaclab.sim.SimulationCfg.use_newton_actuators` to ``True`` by default so |
There was a problem hiding this comment.
🟡 Warning · Api — Changelog omits breaking actuator access change
Flipping the default also changes what Articulation.actuators[name] yields for explicit groups: a Newton actuator object rather than an Isaac Lab model, as documented in actuators.rst and evidenced by this PR replacing actuator.is_implicit_model with getattr(actuator, "is_implicit_model", False) in the Newton and PhysX tests. Repository rules require breaking changes to be marked clearly; note the attribute/type change and point to the group-parameter accessors or use_newton_actuators=False.
|
|
|
||
| use_newton_actuators: bool = False | ||
| """Use native actuators for supported explicit actuator configurations. | ||
| use_newton_actuators: bool = True |
There was a problem hiding this comment.
Default breaks multirotor spawning
When callers create a MultirotorCfg with the new default, the inherited ArticulationCfg spawn hook sends its ThrusterCfg groups through native actuator validation. ThrusterCfg is neither implicit nor supported by the native path, so validation raises ValueError before the multirotor's specialized thruster processing can run. The added ARL opt-outs protect only those specific tasks and demo; direct users of the public multirotor API now fail unless they know to disable native actuators.
|
run-ci |
Description
Backports #7713 to
release/3.0.0.This changes
SimulationCfg.use_newton_actuatorstoTrueby default. Supported explicit actuator models use the native Newton actuator path by default, while users can setuse_newton_actuators=Falseto restore the deprecated Isaac Lab execution path.The six substantive source commits were cherry-picked in order. A focused follow-up commit reconciles the actuator golden images with visualizer/background and Shadow Hand updates already present on the release branch. No new dependencies are required.
Type of change
use_newton_actuators=False)Release backport
This pull request is the
release/3.0.0backport of #7713.Screenshots
Not applicable.
Validation
python3 -m uv run --python 3.12 --no-project ... python -m pytest -q source/isaaclab/test/actuators/test_newton_adapter.py(10 passed)python3 -m uv run --python 3.12 --no-project ... python -m pytest -q source/isaaclab_newton/test/physics/test_newton_manager_abstraction.py::test_clear_resets_rigid_body_force_capability(1 passed)git diff --check upstream/release/3.0.0..HEAD(passed)Checklist
source/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.md