Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ jobs:
isaacsim-base-image: ${{ needs.config.outputs.isaacsim_image_name }}
isaacsim-version: ${{ needs.config.outputs.isaacsim_image_tag }}
filter-pattern: "isaaclab_rl"
extra-pip-packages: "leapp==0.8.1 torchrl>=0.13"
extra-pip-packages: "git+https://github.com/nvidia-isaac/leapp.git@e43b3645edf66f34217ecafd26a11e56f7ac7870 torchrl>=0.13"
warp-cache: restore
test-jobs: "4"
container-name: isaac-lab-rl-test
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ def _read_pinned_versions() -> dict:
"gymnasium": ("https://gymnasium.farama.org/", None),
# NOTE: pinned to /stable/ because /objects.inv at the root currently 404s
"warp": ("https://nvidia.github.io/warp/stable/", None),
"omniverse": ("https://docs.omniverse.nvidia.com/dev-guide/latest", None),
}

# Usage: :ovrtx-docs:`Minimal mode <sensors/cameras/render_modes/minimal.rst>`
Expand Down
4 changes: 2 additions & 2 deletions docs/source/concepts/sensors/joint_wrench_sensor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ articulation's existing body map, so indices from ``robot.find_bodies()`` select
in the wrench and other articulation data. No separate sensor is required.

Set ``robot_cfg.enable_joint_wrench = True`` before constructing the articulation when using
Newton. This requests the extended solver state; it is opt-in because wrench computation adds
solver work and is incompatible with MJWarp's sensor-disabled deterministic mode. PhysX and
Newton. This requests a solver observable; it is opt-in because wrench computation adds
solver work. PhysX and
OVPhysX provide the data on demand without this flag.

.. code-block:: python
Expand Down
6 changes: 5 additions & 1 deletion docs/source/how-to/prepare_asset_for_newton.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,18 @@ rolling friction. Choose the smallest model that represents the contact physics
the importer and contact path preserve it.

Tune material friction against measured tangential slip only after the contact model is valid.
``MujocoCollisionCfg`` also exposes expert per-collider overrides such as ``priority``, ``solmix``,
``MujocoCollisionCfg`` also exposes expert per-collider overrides such as ``priority``,
``solref``, and ``solimp``; use them only with a measured contact-model need. Use
:attr:`~isaaclab_newton.sim.schemas.NewtonCollisionCfg.contact_margin`,
:attr:`~isaaclab_newton.sim.schemas.NewtonCollisionCfg.contact_gap`, and
:attr:`~isaaclab_newton.sim.schemas.NewtonMeshCollisionCfg.max_hull_vertices` instead of raw
importer attributes. Follow :ref:`mjwarp-solver-tuning` for the current global solver and contact
tuning sequence.

MuJoCo 4.1 removed per-collider ``solmix``, so ``MujocoCollisionCfg`` no longer exposes it.
Equal-priority colliders use equal weights; use ``priority`` when one collider's contact
parameters should take precedence.

.. _newton-velocity-limits:

Validate actuators and limits
Expand Down
11 changes: 4 additions & 7 deletions docs/source/how-to/reproducibility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,10 @@ the default; clear :attr:`isaaclab.physics.PhysicsCfg.deterministic` instead.
``disable_sensors`` is required rather than optional: MuJoCo Warp's tactile
sensor kernel applies two atomic reduction families to one output array, which
Warp's deterministic code generation cannot lower, so the sensor module fails
to compile under a determinism guarantee. Disabling it also skips the
``rne_postconstraint`` stage, which fills the Newton ``body_qdd`` and
``body_parent_f`` state. The IMU, PVA, and joint-wrench sensors read that
state, so Newton raises rather than let them report stale values: remove those
sensors, or drop the determinism request. Integrations
that consume native MJWarp sensor outputs directly are affected too, and are
not detected.
to compile under a determinism guarantee. Isaac Lab's IMU, PVA, and joint-wrench
sensors request Newton solver observables, which enable ``rne_postconstraint``
independently of the disabled MuJoCo sensor stage. Integrations that consume
native MJWarp sensor outputs directly still require that stage.

.. warning::

Expand Down
23 changes: 10 additions & 13 deletions docs/source/how-to/solver_tuning_mjwarp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,24 +145,21 @@ Optimize only after validation

After the task is stable over its full distribution, measure the cost of each
change and retain only work that improves the recorded outcome. Reduce excess
capacity, line-search work, collision refresh, substeps, and state
synchronization frequency one at a time.
capacity, line-search work, collision refresh, and substeps one at a time.

``ccd_iterations`` is a GJK/EPA collision-convergence cap, not a PhysX-style
continuous-collision-detection switch. Increase it only for a warning or a
reproducible complex-geometry collision failure. Keep
``update_data_interval=1`` until resets, Newton-side state writes, contact
reporting, and sensors are verified; a larger interval reduces synchronization
work but can expose stale data. ``save_to_mjcf``, ``use_mujoco_cpu``, and
reproducible complex-geometry collision failure. ``save_to_mjcf``, ``use_mujoco_cpu``, and
``disable_contacts`` are diagnostic tools, not production tuning targets.

``update_data_interval`` counts solver substeps, with
``decimation * num_substeps`` solver steps per control step. ``0`` disables
periodic imports. With MuJoCo Warp, state writes through Isaac Lab's asset APIs
still synchronize flagged worlds at the next ``forward()`` or physics-step
boundary, including environment resets. The native MuJoCo CPU backend only
synchronizes template world 0 when that world is flagged. Raw Newton state writes
must also flag the manager's reset masks through ``sim.backend_manager.invalidate_fk()``.
Newton synchronizes state into MuJoCo on every solver step; ``update_data_interval``
has been removed from ``MJWarpSolverCfg``. The ignored ``ls_parallel`` option has
also been removed; use ``ls_iterations`` to tune iterative line search. World separation
is inferred from the model. The native MuJoCo CPU backend requires a single-world model.
State writes through Isaac Lab's asset APIs flag affected worlds for forward kinematics
and clear their solver history at the next ``forward()`` or physics-step boundary.
Raw Newton state writes must also flag the manager's reset masks through
``sim.backend_manager.invalidate_fk()``.

The diagnose-first order is: validate the model and fixed reproduction; choose
timestep and substeps; size capacities; validate convergence; tune contact
Expand Down
3 changes: 1 addition & 2 deletions docs/source/isaaclab/migrating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1188,8 +1188,7 @@ The backend articulation methods ``write_actuator_stiffness_to_sim`` and
updates actuator-owned gains, implicit solver drives, or native drive parameters as
appropriate. For direct writes to a Newton-executed group's drive, use
:func:`~isaaclab.actuators.newton.write_group_parameter` with the ``"drive"`` component. It was renamed
from ``"controller"`` to follow the Newton 1.6 drive API. ``"controller"`` remains a deprecated alias that
warns and will be removed in 3.2.
from ``"controller"`` to follow Newton's drive API; the old alias has been removed.

Named regular-expression groups retain their configuration behavior; use the canonical field
names in each group.
Expand Down
2 changes: 0 additions & 2 deletions examples/demos/nist.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,6 @@ class NistEnvCfg(ManagerBasedRLEnvCfg):
nconmax=2400,
impratio=1.0,
cone="pyramidal",
update_data_interval=2,
ls_parallel=False,
use_mujoco_contacts=False,
),
collision_cfg=NewtonCollisionPipelineCfg(
Expand Down
2 changes: 0 additions & 2 deletions examples/demos/zoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,6 @@ def main() -> None:
physics_cfg.solver_cfg.ls_iterations = 40
physics_cfg.solver_cfg.cone = "elliptic"
physics_cfg.solver_cfg.impratio = 10.0
physics_cfg.solver_cfg.ls_parallel = False
physics_cfg.solver_cfg.update_data_interval = 2
physics_cfg.solver_cfg.ccd_iterations = 50
physics_cfg.num_substeps = 2
physics_cfg.debug_mode = False
Expand Down
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies = [
"pyglet>=2.1.6,<3",
"transformers==5.10.4",
"einops",
"warp-lang==1.17.0",
"warp-lang==1.20.0",
"matplotlib>=3.10.3",
# pillow: floor, not exact — an exact pin below Isaac Sim's prebundled version forces a
# downgrade that deletes the prebundled copy other extensions symlink into (nvbugs 6410989).
Expand Down Expand Up @@ -86,8 +86,7 @@ dependencies = [
"rsl-rl-lib-extras==6.0.0.2",
"gitpython>=3.1.60", # used by RL training and experiment logging
# ----- newton (default physics engine) -----
# Pin the current Newton development revision until it is included in a release.
"newton[sim] @ git+https://github.com/newton-physics/newton.git@d31603ff5e8389d1d6b2a5daef6ea2cb074c26ff",
"newton[sim] @ git+https://github.com/newton-physics/newton.git@14e63213378119beeed1b0502f8580b5bad4042f",
# Import and mesh-processing packages used by Newton, including the ones that honoring
# USD-authored ``physics:approximation`` requires. Keep these explicit instead of selecting
# newton[importers], whose standalone USD dependency would overlap with usd-exchange.
Expand All @@ -101,9 +100,9 @@ dependencies = [
"pycollada>=0.9",
"resolve-robotics-uri-py>=0.4.0",
"open3d>=0.19.0 ; python_version < '3.13' and (sys_platform != 'linux' or platform_machine != 'aarch64')",
# Authored MPM particle import requires the 0.5 schema revision. The managed
# Isaac Sim workflow overrides its older exact transitive pin below.
"newton-usd-schemas>=0.5.0",
# Match Newton's importer schema floor; the managed Isaac Sim workflow overrides
# its older exact transitive pin below.
"newton-usd-schemas>=0.8.0",
"PyOpenGL-accelerate>=3.1.0",
# ----- newton interactive viewer GUI (in base, no extra required) -----
"imgui-bundle>=1.92.5",
Expand Down Expand Up @@ -232,7 +231,7 @@ rlinf = [
"pandas",
]
leapp = [
"leapp==0.8.1",
"leapp @ git+https://github.com/nvidia-isaac/leapp.git@e43b3645edf66f34217ecafd26a11e56f7ac7870",
]
# Foveated camera sensors.
fovi = [
Expand All @@ -256,7 +255,7 @@ ovphysx = "0.8.1.45833638316"
ovrtx = "0.7.0.1794596436"
ovstage = "0.4.0.1794520352"
newton = "1.9.0.dev0"
warp = "1.17.0"
warp = "1.20.0"

[tool.ruff]
line-length = 120
Expand Down Expand Up @@ -438,12 +437,13 @@ override-dependencies = [
# Capture CloudXR requires >=17.3; override Isaac Sim 6.2's <15 and Viser 1.0's <17 caps.
"websockets>=17.3",
"numpy>=2",
"mujoco~=3.17.0",
"mujoco-warp~=3.17.0",
"newton[sim] @ git+https://github.com/newton-physics/newton.git@d31603ff5e8389d1d6b2a5daef6ea2cb074c26ff ; extra != 'optix'",
"newton[sim,optix] @ git+https://github.com/newton-physics/newton.git@d31603ff5e8389d1d6b2a5daef6ea2cb074c26ff ; extra == 'optix'",
# Isaac Sim 6.2 pins MuJoCo and MuJoCo Warp 3.12; align them with Newton 4.1.
"mujoco~=4.1.0",
"mujoco-warp~=4.1.0",
"newton[sim] @ git+https://github.com/newton-physics/newton.git@14e63213378119beeed1b0502f8580b5bad4042f ; extra != 'optix'",
"newton[sim,optix] @ git+https://github.com/newton-physics/newton.git@14e63213378119beeed1b0502f8580b5bad4042f ; extra == 'optix'",
# Force the Newton-matched schemas over isaacsim's ==0.2.0 pin.
"newton-usd-schemas>=0.5.0",
"newton-usd-schemas>=0.8.0",
# isaacsim-asset-isolated and isaacsim-robot-schema 6.2 pin usd-exchange ==2.3.0.
"usd-exchange==3.0.1",
# usd-optimize must share usd-exchange's OpenUSD build (26.08); bump the two together.
Expand Down
1 change: 0 additions & 1 deletion scripts/benchmarks/benchmark_load_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def main(
physics_cfg.solver_cfg.ls_iterations = 40
physics_cfg.solver_cfg.cone = "elliptic"
physics_cfg.solver_cfg.impratio = 100
physics_cfg.solver_cfg.ls_parallel = False
physics_cfg.solver_cfg.integrator = "implicitfast"
physics_cfg.num_substeps = 2

Expand Down
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Updated native actuator delays to Newton input processors and specialized reset-state copying by array
rank for Warp's compile-time checks, preserving masked writes and strided output views.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* **Breaking:** Removed the deprecated ``"controller"`` actuator component alias. Use ``"drive"``
with ``read_group_parameter`` and ``write_group_parameter`` instead.
Loading
Loading