Skip to content

The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.

RoboARC: draw the lock rotor discs where the physics has them (optional render fix, #210) (#218)

Qineng Wang5dc58065f044
diff --git a/scripts/roboarc/shared/nyx_direct.py b/scripts/roboarc/shared/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/scripts/roboarc/shared/nyx_direct.py
+++ b/scripts/roboarc/shared/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-01-i01-privileged/DIGEST b/tasks/roboarc-blanket-flatten-01-i01-privileged/DIGEST
index 29a5f03eeb..e630b735d2 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-flatten-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:47d2655eaf157a03deaf99d701fe60393f21fcdf882cde686cf807621ae9f92c
+sha256:5536257cfa8bdbb42d479f24117fa417fa4c7d785bac084a7ba88ed0fd84bb69
diff --git a/tasks/roboarc-blanket-flatten-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-flatten-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-flatten-01-i01-privileged/environment/runtime_binding.json
index 2e24c966b1..7406418af0 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-01-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-flatten-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-01-i01-privileged/tests/runtime_binding.json
index 2e24c966b1..7406418af0 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-01-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-01-i01-standard/DIGEST b/tasks/roboarc-blanket-flatten-01-i01-standard/DIGEST
index f97cb892d7..041b0738bc 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-flatten-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:66223db7013084e784852ea460b787b8fb2947d3094f2c5f15c2ceafc4c40dad
+sha256:26f865d9562d51b55c6a2379f23daab1bf95e4f27d32d82f31aa7c0d11ae468b
diff --git a/tasks/roboarc-blanket-flatten-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-flatten-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-flatten-01-i01-standard/environment/sim/runtime_binding.json
index 2e24c966b1..7406418af0 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-01-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-01-i01-standard/tests/runtime_binding.json
index 2e24c966b1..7406418af0 100644
--- a/tasks/roboarc-blanket-flatten-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-01-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-02-i01-privileged/DIGEST b/tasks/roboarc-blanket-flatten-02-i01-privileged/DIGEST
index 7007d5737e..c4450f4354 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-flatten-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:64bbf6af3d98774133ef86cce64e2bb294b8126e8992ab7113198723b4498bc1
+sha256:8d7fded5a4a8e05dc56fbd8ef426a59b9df2c06d9fb247109306de0de146e2f5
diff --git a/tasks/roboarc-blanket-flatten-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-flatten-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-flatten-02-i01-privileged/environment/runtime_binding.json
index 1887397015..bbd9bd7e7f 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-02-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-flatten-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-02-i01-privileged/tests/runtime_binding.json
index 1887397015..bbd9bd7e7f 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-02-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-02-i01-standard/DIGEST b/tasks/roboarc-blanket-flatten-02-i01-standard/DIGEST
index 312fd41df1..91e0630ca7 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-flatten-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:a5be8cd3d7aee4b67638c7f3419e03cb43fb9f20ec7d03c939f0f10773dd7bef
+sha256:e707bf40b464a1a12121314e9c88ce612f51481b2d9c055a412db41fe7e88273
diff --git a/tasks/roboarc-blanket-flatten-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-flatten-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-flatten-02-i01-standard/environment/sim/runtime_binding.json
index 1887397015..bbd9bd7e7f 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-02-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-02-i01-standard/tests/runtime_binding.json
index 1887397015..bbd9bd7e7f 100644
--- a/tasks/roboarc-blanket-flatten-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-02-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-03-i01-privileged/DIGEST b/tasks/roboarc-blanket-flatten-03-i01-privileged/DIGEST
index c531ac3e2d..a8e4b6bf1d 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-flatten-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:3a53d4cbcb8515cd71fd78a95346516fe67a327fa54d6d82bc6870e497861952
+sha256:f25929f971c660828e74b87ed786deedbf47df1372d23be2b798a22a46611951
diff --git a/tasks/roboarc-blanket-flatten-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-flatten-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-flatten-03-i01-privileged/environment/runtime_binding.json
index 833913d918..17a693f221 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-03-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-flatten-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-03-i01-privileged/tests/runtime_binding.json
index 833913d918..17a693f221 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-03-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-03-i01-standard/DIGEST b/tasks/roboarc-blanket-flatten-03-i01-standard/DIGEST
index 920e2478d9..322b8b51fb 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-flatten-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:b52cbcd04e506da4fde82aef10248687f7c140524a609e541e112bc8fb5ef538
+sha256:70f5a50cea0ef3df227e744acce43889541bfa9f8c9efac1bed9b09962f5d80a
diff --git a/tasks/roboarc-blanket-flatten-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-flatten-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-flatten-03-i01-standard/environment/sim/runtime_binding.json
index 833913d918..17a693f221 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-03-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-03-i01-standard/tests/runtime_binding.json
index 833913d918..17a693f221 100644
--- a/tasks/roboarc-blanket-flatten-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-03-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-04-i01-privileged/DIGEST b/tasks/roboarc-blanket-flatten-04-i01-privileged/DIGEST
index 1cbe2b934d..32df61ac39 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-flatten-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:edeb6269a87ee922fd33d2442420a7bb1838d9b096ad5f428ff8d829c9bec410
+sha256:a29c2307b3a17e22a707c23a41d289fd2f1d97c58ea4faac8a83c7705bd181ea
diff --git a/tasks/roboarc-blanket-flatten-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-flatten-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-flatten-04-i01-privileged/environment/runtime_binding.json
index 04c4c030c1..ee52c74de0 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-04-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-flatten-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-04-i01-privileged/tests/runtime_binding.json
index 04c4c030c1..ee52c74de0 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-04-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-04-i01-standard/DIGEST b/tasks/roboarc-blanket-flatten-04-i01-standard/DIGEST
index df8e1c504e..70d654889c 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-flatten-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:47023361bf2c4d392f86e85f0e53c4d4c91c1f1be313c41c695e3ef31bea93e2
+sha256:6ee9ac72bc3a724fc6318d9af095c59de526092ea9659547f69cc428571a82f3
diff --git a/tasks/roboarc-blanket-flatten-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-flatten-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-flatten-04-i01-standard/environment/sim/runtime_binding.json
index 04c4c030c1..ee52c74de0 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-04-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-04-i01-standard/tests/runtime_binding.json
index 04c4c030c1..ee52c74de0 100644
--- a/tasks/roboarc-blanket-flatten-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-04-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-05-i01-privileged/DIGEST b/tasks/roboarc-blanket-flatten-05-i01-privileged/DIGEST
index d028afa8bd..56ef4dd253 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-flatten-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:a36101d41a456cea2165b71cba938858b0016d2704088d5453edac64d6db3efb
+sha256:17e9db729b4168dbf859bcb5aa9080c64e93cd99b5c4e35428354387bf7a5fa7
diff --git a/tasks/roboarc-blanket-flatten-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-flatten-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-flatten-05-i01-privileged/environment/runtime_binding.json
index eaae2e6f83..3b2a5aa9ee 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-05-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-flatten-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-05-i01-privileged/tests/runtime_binding.json
index eaae2e6f83..3b2a5aa9ee 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-05-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-05-i01-standard/DIGEST b/tasks/roboarc-blanket-flatten-05-i01-standard/DIGEST
index c0bd1d0420..980aede8e5 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-flatten-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:a3b2c7ba7c712e68f3f9c5d23c5cb03064e6903fc719f1d2b764554b58d81647
+sha256:44b680954638ccc066efbb1e6a120ae0c6c420f644e231e477de15e7e39b727a
diff --git a/tasks/roboarc-blanket-flatten-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-flatten-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-flatten-05-i01-standard/environment/sim/runtime_binding.json
index eaae2e6f83..3b2a5aa9ee 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-05-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-05-i01-standard/tests/runtime_binding.json
index eaae2e6f83..3b2a5aa9ee 100644
--- a/tasks/roboarc-blanket-flatten-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-05-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-06-i01-privileged/DIGEST b/tasks/roboarc-blanket-flatten-06-i01-privileged/DIGEST
index e701a99d09..ecd7cbfd6d 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-flatten-06-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:efc0acfa199b512fef441ed3b82a81f0e76028886635490bfc3534238755e9ea
+sha256:6e70d31cddcc19a186045a68bf057424011bada7a6dd2f54426478f0a9e21749
diff --git a/tasks/roboarc-blanket-flatten-06-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-flatten-06-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-06-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-06-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-flatten-06-i01-privileged/environment/runtime_binding.json
index f415b1b037..9fbbabf003 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-06-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-06-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-flatten-06-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-06-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-06-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-06-i01-privileged/tests/runtime_binding.json
index f415b1b037..9fbbabf003 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-06-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-06-i01-standard/DIGEST b/tasks/roboarc-blanket-flatten-06-i01-standard/DIGEST
index 4060d09e18..2668a88545 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-flatten-06-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:fbf3c6d34b0bd1c40fbbf850cb6e85231295399b4f8ff51de8900fbd1b77ba32
+sha256:dd387e5e9db56fabcad5e5568d5035c05996a527e46ecefa2f13a982fc37a53f
diff --git a/tasks/roboarc-blanket-flatten-06-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-flatten-06-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-flatten-06-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-flatten-06-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-flatten-06-i01-standard/environment/sim/runtime_binding.json
index f415b1b037..9fbbabf003 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-06-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-flatten-06-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-flatten-06-i01-standard/tests/runtime_binding.json
index f415b1b037..9fbbabf003 100644
--- a/tasks/roboarc-blanket-flatten-06-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-flatten-06-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-01-i01-privileged/DIGEST b/tasks/roboarc-blanket-fold-01-i01-privileged/DIGEST
index e3f1fb5151..53e66998ad 100644
--- a/tasks/roboarc-blanket-fold-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-fold-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:be811a798ec39a870c5369b45c9030cc79da3e3b975c342645cbddc8adcaabcd
+sha256:83ed58cf7829dd4e96701327232737a5a5249650959a3192cca09baf3c3d2acd
diff --git a/tasks/roboarc-blanket-fold-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-fold-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-fold-01-i01-privileged/environment/runtime_binding.json
index 2424f13aa4..276a5e0ef0 100644
--- a/tasks/roboarc-blanket-fold-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-01-i01-privileged/environment/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-fold-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-01-i01-privileged/tests/runtime_binding.json
index 2424f13aa4..276a5e0ef0 100644
--- a/tasks/roboarc-blanket-fold-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-01-i01-privileged/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-01-i01-standard/DIGEST b/tasks/roboarc-blanket-fold-01-i01-standard/DIGEST
index 1c07e9fc5d..ed6d89d004 100644
--- a/tasks/roboarc-blanket-fold-01-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-fold-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:9697bd1b9a5e70172b024a3438a6c289ab7eaef3f73b801d0c2dd3abef833037
+sha256:116974829fad9b23cfbba70087bc3d70d7393e1b9d33bffa1e4ebbcc453620e2
diff --git a/tasks/roboarc-blanket-fold-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-fold-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-fold-01-i01-standard/environment/sim/runtime_binding.json
index 2424f13aa4..276a5e0ef0 100644
--- a/tasks/roboarc-blanket-fold-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-01-i01-standard/environment/sim/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-01-i01-standard/tests/runtime_binding.json
index 2424f13aa4..276a5e0ef0 100644
--- a/tasks/roboarc-blanket-fold-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-01-i01-standard/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-02-i01-privileged/DIGEST b/tasks/roboarc-blanket-fold-02-i01-privileged/DIGEST
index fd2d3e9ada..9743d1fc0c 100644
--- a/tasks/roboarc-blanket-fold-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-fold-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:0fed2619547dacdaea9501c3838482a2f37ca1fae27a3d8fabdaf87b0affabee
+sha256:7a647399a051e1696a0c6a8404d7a1aa844da6a4372dca20d2c70d3ddc5ea8fa
diff --git a/tasks/roboarc-blanket-fold-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-fold-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-fold-02-i01-privileged/environment/runtime_binding.json
index 9d9cbbbec6..59b3390983 100644
--- a/tasks/roboarc-blanket-fold-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-02-i01-privileged/environment/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-fold-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-02-i01-privileged/tests/runtime_binding.json
index 9d9cbbbec6..59b3390983 100644
--- a/tasks/roboarc-blanket-fold-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-02-i01-privileged/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-02-i01-standard/DIGEST b/tasks/roboarc-blanket-fold-02-i01-standard/DIGEST
index f39d2067e5..90d08c84be 100644
--- a/tasks/roboarc-blanket-fold-02-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-fold-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:add05c9f976277d8379def2ef6987e35c2a8e815107f3ebec318aadaf28abae8
+sha256:e674fc16f17e4b76fddbbf1127cac6c89e9badbb42a819490a31ea96b1ac58a2
diff --git a/tasks/roboarc-blanket-fold-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-fold-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-fold-02-i01-standard/environment/sim/runtime_binding.json
index 9d9cbbbec6..59b3390983 100644
--- a/tasks/roboarc-blanket-fold-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-02-i01-standard/environment/sim/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-02-i01-standard/tests/runtime_binding.json
index 9d9cbbbec6..59b3390983 100644
--- a/tasks/roboarc-blanket-fold-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-02-i01-standard/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-03-i01-privileged/DIGEST b/tasks/roboarc-blanket-fold-03-i01-privileged/DIGEST
index af494acdfe..6149e3a687 100644
--- a/tasks/roboarc-blanket-fold-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-fold-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:eef2b0a51250d2948b09f59f2cbbbabb122117034f8525616405fab596520d03
+sha256:0aa121b1400a72c3e3e3bd1cbfffca2dcdfa09c86e2a9442dc9ffe9a335f1455
diff --git a/tasks/roboarc-blanket-fold-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-fold-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-fold-03-i01-privileged/environment/runtime_binding.json
index d038c6c2f3..c38735d859 100644
--- a/tasks/roboarc-blanket-fold-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-03-i01-privileged/environment/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-fold-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-03-i01-privileged/tests/runtime_binding.json
index d038c6c2f3..c38735d859 100644
--- a/tasks/roboarc-blanket-fold-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-03-i01-privileged/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-03-i01-standard/DIGEST b/tasks/roboarc-blanket-fold-03-i01-standard/DIGEST
index a12989629f..0c708a8831 100644
--- a/tasks/roboarc-blanket-fold-03-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-fold-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:a2a8c079a732bf0f56a4b299ce96886b6b2fbf34b08b1ed61fdabbc3d0c66fa7
+sha256:ade07996afb2d277c081fa0501a222b55b239df382ab1abca290e3c72efd07ed
diff --git a/tasks/roboarc-blanket-fold-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-fold-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-fold-03-i01-standard/environment/sim/runtime_binding.json
index d038c6c2f3..c38735d859 100644
--- a/tasks/roboarc-blanket-fold-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-03-i01-standard/environment/sim/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-03-i01-standard/tests/runtime_binding.json
index d038c6c2f3..c38735d859 100644
--- a/tasks/roboarc-blanket-fold-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-03-i01-standard/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-04-i01-privileged/DIGEST b/tasks/roboarc-blanket-fold-04-i01-privileged/DIGEST
index 6a8d98acec..e354a3101b 100644
--- a/tasks/roboarc-blanket-fold-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-fold-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:c10118d829fb3aa11f539a45515c9840ca21bdf46585ff8c59641999f8d044fb
+sha256:55aad71d6fe8388eb0be57221bd1908ed166462bb96eb40560d93d8526a8d768
diff --git a/tasks/roboarc-blanket-fold-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-fold-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-fold-04-i01-privileged/environment/runtime_binding.json
index c0af1b430c..da8f80e0ce 100644
--- a/tasks/roboarc-blanket-fold-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-04-i01-privileged/environment/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-fold-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-04-i01-privileged/tests/runtime_binding.json
index c0af1b430c..da8f80e0ce 100644
--- a/tasks/roboarc-blanket-fold-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-04-i01-privileged/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-04-i01-standard/DIGEST b/tasks/roboarc-blanket-fold-04-i01-standard/DIGEST
index ce43e81be3..6ed097c8af 100644
--- a/tasks/roboarc-blanket-fold-04-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-fold-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:383f57f991d6fc9182b2e8992b086f57df4df858ec8af72e86c67f11d76e73aa
+sha256:48d97e7c3d1ba2c5f9e267faad1775dd065a16e296428b10c4f0fe1e158f9970
diff --git a/tasks/roboarc-blanket-fold-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-fold-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-fold-04-i01-standard/environment/sim/runtime_binding.json
index c0af1b430c..da8f80e0ce 100644
--- a/tasks/roboarc-blanket-fold-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-04-i01-standard/environment/sim/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-04-i01-standard/tests/runtime_binding.json
index c0af1b430c..da8f80e0ce 100644
--- a/tasks/roboarc-blanket-fold-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-04-i01-standard/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-05-i01-privileged/DIGEST b/tasks/roboarc-blanket-fold-05-i01-privileged/DIGEST
index c93e200ae9..380ef23d72 100644
--- a/tasks/roboarc-blanket-fold-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-blanket-fold-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:4c8e17432cf99ac701b1e69e7030d3a0f66db4550bf471a0f3502e65c5c09930
+sha256:824518a711434254b187bfb10e9bf88aff1cc6a91005512d9da1e634b8b237e1
diff --git a/tasks/roboarc-blanket-fold-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-blanket-fold-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-blanket-fold-05-i01-privileged/environment/runtime_binding.json
index aae90eaa72..43ba3be059 100644
--- a/tasks/roboarc-blanket-fold-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-05-i01-privileged/environment/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-blanket-fold-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-05-i01-privileged/tests/runtime_binding.json
index aae90eaa72..43ba3be059 100644
--- a/tasks/roboarc-blanket-fold-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-05-i01-privileged/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-05-i01-standard/DIGEST b/tasks/roboarc-blanket-fold-05-i01-standard/DIGEST
index 475b5020f5..1da27a6aed 100644
--- a/tasks/roboarc-blanket-fold-05-i01-standard/DIGEST
+++ b/tasks/roboarc-blanket-fold-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:8fac4dffb70075b7c7148bc24413899eb0feaf18e484fa5ffc1b3963db5eb239
+sha256:89f6d8410094be96bab189c70de9cd38b6785567cdfd7d5dcb39baa4cf5a5af2
diff --git a/tasks/roboarc-blanket-fold-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-blanket-fold-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-blanket-fold-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-blanket-fold-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-blanket-fold-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-blanket-fold-05-i01-standard/environment/sim/runtime_binding.json
index aae90eaa72..43ba3be059 100644
--- a/tasks/roboarc-blanket-fold-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-05-i01-standard/environment/sim/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-blanket-fold-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-blanket-fold-05-i01-standard/tests/runtime_binding.json
index aae90eaa72..43ba3be059 100644
--- a/tasks/roboarc-blanket-fold-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-blanket-fold-05-i01-standard/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/DIGEST
index 56c0ae605a..7aca68e854 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:68992a1a54f264511a78dad061eb83b3972b48901112f41b5fa3e5235ad8929c
+sha256:84e727328cd13704326771c96af69568268aee08c8d1e6e54764e51348f60480
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/environment/runtime_binding.json
index 4dd50b8845..e34cfbd3d5 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/tests/runtime_binding.json
index 4dd50b8845..e34cfbd3d5 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-01-i01-standard/DIGEST
index b0980a5d73..8581483514 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:94b3b2c92f150f02c4afab1228bec1fbc783c9099f75c86ad0b362d680debff4
+sha256:0256c0b759b9cd9c8ce4001bb8e45d8dc457a6ff36306cbc6ecacb78555bbfc9
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-01-i01-standard/environment/sim/runtime_binding.json
index 4dd50b8845..e34cfbd3d5 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-01-i01-standard/tests/runtime_binding.json
index 4dd50b8845..e34cfbd3d5 100644
--- a/tasks/roboarc-buzz-wire-3d-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-01-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/DIGEST
index 0f7e3cc97d..338db33112 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:de06639e66f78479423ea37a8f736b5a37ede9cd4bfcb6a064507f0ddb94efe8
+sha256:d1aae9c4e5092a537bdc79de836b59a5286e85980e77641bafe0037742bc5d37
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/environment/runtime_binding.json
index 74e0ce773d..1c36a05923 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/tests/runtime_binding.json
index 74e0ce773d..1c36a05923 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-02-i01-standard/DIGEST
index 66658c56f0..a3f556d2b3 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:c5b8f2c535ac538067ec13a4a262bb03087ca8cf02fef5d88699695a737a2a20
+sha256:6f1605e486a99a1f9495ec0b7c18fcd5bf75be89a39f9596fcc088bec0cedc8f
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-02-i01-standard/environment/sim/runtime_binding.json
index 74e0ce773d..1c36a05923 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-02-i01-standard/tests/runtime_binding.json
index 74e0ce773d..1c36a05923 100644
--- a/tasks/roboarc-buzz-wire-3d-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-02-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/DIGEST
index 1b7fb5cdea..51a0ac36a6 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:b18936a8102d4747dd984d789d7e7eb21d51e87d119f1d5f2ba8810735b39101
+sha256:e1013c70ef91afa1d3e8274a1d4d4ef4c276037f7a90065e826ae5737c674aca
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/environment/runtime_binding.json
index b673ffe82a..31e970f95e 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/tests/runtime_binding.json
index b673ffe82a..31e970f95e 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-03-i01-standard/DIGEST
index b67a3e85f6..e9091d6825 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:7abf1e126aaf1ebdb5310bb89531543bc998f137cb49e317846a0583b7113bcf
+sha256:a603b06762198da11a9ee4bf3ac130b897d27dc025926ee0ca543327adae15c9
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-03-i01-standard/environment/sim/runtime_binding.json
index b673ffe82a..31e970f95e 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-03-i01-standard/tests/runtime_binding.json
index b673ffe82a..31e970f95e 100644
--- a/tasks/roboarc-buzz-wire-3d-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-03-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/DIGEST
index ffe650206f..8202e7988b 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:437356dc6702e17dfab273b23dcbf4c07910ea0dc3a64533d530b13263bb0cd5
+sha256:04397286047ebc19e30c62995ca0ea3208bf2d045501ce67b5743692b8bcd72a
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/environment/runtime_binding.json
index ad4c8a4396..3924ae18ee 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/tests/runtime_binding.json
index ad4c8a4396..3924ae18ee 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-04-i01-standard/DIGEST
index 6e4b3b9efb..1448a16197 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:5433d2240954a0b47d1174c0c749b78319895317194c2669d8dab3e04fccc171
+sha256:2e6bd19c6b9d6e01c868d42413514a48e58429c1435ac3723dff5a9baa0dce24
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-04-i01-standard/environment/sim/runtime_binding.json
index ad4c8a4396..3924ae18ee 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-04-i01-standard/tests/runtime_binding.json
index ad4c8a4396..3924ae18ee 100644
--- a/tasks/roboarc-buzz-wire-3d-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-04-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/DIGEST
index 0c9a456623..a6b23b9b68 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:34c357098e14393fbccf2e8d4277f9f2bb7bd4658942ec2e9bf498d8217ea019
+sha256:8727331781248728af50fc604671ea595870e2d724bac40dd16218f054ea1f7c
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/environment/runtime_binding.json
index c7cdae0549..9b9adec467 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/tests/runtime_binding.json
index c7cdae0549..9b9adec467 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-05-i01-standard/DIGEST
index b3496119fa..efd7431341 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:06a4a4ed3bf95efb07c0441df48a9b6c35fbf553a272c22abf2562b0e2d8e72b
+sha256:59281854a68294c12259a7acc3ee80384ee6634ad1735f53dc8a701c1e2c0a5f
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-05-i01-standard/environment/sim/runtime_binding.json
index c7cdae0549..9b9adec467 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-05-i01-standard/tests/runtime_binding.json
index c7cdae0549..9b9adec467 100644
--- a/tasks/roboarc-buzz-wire-3d-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-05-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/DIGEST
index 2223349d45..b1705e6bfd 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:49b1d02b6cfbdf398c4b06cd895551177c7e98a1e1ed53a3acfeacfbbabd9c48
+sha256:022ee97c1421e5e568135b235edad79d7e970590c3307e39ea8e3ba485f9cf57
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/environment/runtime_binding.json
index 523aa9dc1b..8d487ceed1 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/tests/runtime_binding.json
index 523aa9dc1b..8d487ceed1 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-06-i01-standard/DIGEST
index 1b0b00858f..a851953371 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:8dcff53709ed6c91091a098bdb60f9a2964857c28d36675927d1c7f4392967f4
+sha256:d97eb9aa0099cf477a3a1a0416bebbcfc6255d1c47ca62b975a433897a5cf4dc
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-06-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-06-i01-standard/environment/sim/runtime_binding.json
index 523aa9dc1b..8d487ceed1 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-06-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-06-i01-standard/tests/runtime_binding.json
index 523aa9dc1b..8d487ceed1 100644
--- a/tasks/roboarc-buzz-wire-3d-06-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-06-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/DIGEST
index 2938e4c510..7e054ce03e 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:259e215809919f3d52cdd44c5862853671a5dbb51f26b55921d3b06c8ac8aeb6
+sha256:0bec9e8f31ea10bc2e9cd115ee5f6727fbf3d2ff2394fb33b8969599aeae3c2e
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/environment/runtime_binding.json
index cceec8a798..44e38c9389 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/environment/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/tests/runtime_binding.json
index cceec8a798..44e38c9389 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-privileged/tests/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-07-i01-standard/DIGEST
index a7ecaa10f0..505b64bd20 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:f9c005b9c3192f455cb9e80d1db341fb9ee196a1ce4942480d3cd0be8512ff51
+sha256:0078806b151ea14f929877654c4fdbd10112fc1f9c26776e9e55ba4a7203e337
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-07-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-07-i01-standard/environment/sim/runtime_binding.json
index cceec8a798..44e38c9389 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-standard/environment/sim/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-07-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-07-i01-standard/tests/runtime_binding.json
index cceec8a798..44e38c9389 100644
--- a/tasks/roboarc-buzz-wire-3d-07-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-07-i01-standard/tests/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/DIGEST
index d22eaeda1c..d67b9a665d 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:119328ffc625231b6670515d41f487c4e9e4eb25ecde109ca830cd6c2df3b46b
+sha256:b85a71c5fd5088bcbf4bf70d327b94fbdc784966ff4f783df07901e04b01f2a0
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/environment/runtime_binding.json
index dd40224acc..8bc8d2c232 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/environment/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/tests/runtime_binding.json
index dd40224acc..8bc8d2c232 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-privileged/tests/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-08-i01-standard/DIGEST
index de8a598c81..284b04ff3d 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:a40b14ab93e41f477956897337f0bb1f5dea60f8dd5cefdd838906bd7e8cb3da
+sha256:9cefe90a3b4723417f1f063ee5bee20f19e8b174687fa618588418eb87894886
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-08-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-08-i01-standard/environment/sim/runtime_binding.json
index dd40224acc..8bc8d2c232 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-standard/environment/sim/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-08-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-08-i01-standard/tests/runtime_binding.json
index dd40224acc..8bc8d2c232 100644
--- a/tasks/roboarc-buzz-wire-3d-08-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-08-i01-standard/tests/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/DIGEST
index 05bbfc9f04..db10802118 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:5c377227647e02e1aaa5e1a52fc121814cb121b702b6d803dd981613554d7094
+sha256:a3829d5fae17f8dd297aaee376dcd6c3b084a8fe810a97ca84012287470da3be
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/environment/runtime_binding.json
index ebc1d0411b..8ab661f0ab 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/environment/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/tests/runtime_binding.json
index ebc1d0411b..8ab661f0ab 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-privileged/tests/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-09-i01-standard/DIGEST
index 25b43a06e8..214f59ac83 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:04c1f1fa37e9da9bf985e832e40176ea44ae1b92adee01f2cb06a221752241ed
+sha256:8582f3a22c654005ba693117afab9c546d5414a5e22fe70d9c71581ddfbc72a7
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-09-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-09-i01-standard/environment/sim/runtime_binding.json
index ebc1d0411b..8ab661f0ab 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-standard/environment/sim/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-09-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-09-i01-standard/tests/runtime_binding.json
index ebc1d0411b..8ab661f0ab 100644
--- a/tasks/roboarc-buzz-wire-3d-09-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-09-i01-standard/tests/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/DIGEST b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/DIGEST
index 7b9461ca9c..b183665f7e 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:ca6163ff73087d097b4f20c015f8afb51f5a42b959fbef74e38fa46836c141f8
+sha256:6aa89af0e11c92b3643978f7865926adcd4b9726b7a48f17ff7a66413376addc
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/environment/runtime_binding.json
index ef1564fade..bdc481a6b8 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/environment/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/tests/runtime_binding.json
index ef1564fade..bdc481a6b8 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-privileged/tests/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-standard/DIGEST b/tasks/roboarc-buzz-wire-3d-10-i01-standard/DIGEST
index e2ada1df5e..060459ebe3 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-standard/DIGEST
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:5f9587579f59dbc08520f4f5eb97eefd34df53d7f860921345515796502a1649
+sha256:3e3fbc7334c55748c859eb2ef023166509658a047fb7e700587cbabed545efeb
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-buzz-wire-3d-10-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-10-i01-standard/environment/sim/runtime_binding.json
index ef1564fade..bdc481a6b8 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-standard/environment/sim/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-buzz-wire-3d-10-i01-standard/tests/runtime_binding.json b/tasks/roboarc-buzz-wire-3d-10-i01-standard/tests/runtime_binding.json
index ef1564fade..bdc481a6b8 100644
--- a/tasks/roboarc-buzz-wire-3d-10-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-buzz-wire-3d-10-i01-standard/tests/runtime_binding.json
@@ -45,5 +45,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-01-i01-privileged/DIGEST b/tasks/roboarc-cast-coil-01-i01-privileged/DIGEST
index 15e9d6d613..7cd79930b1 100644
--- a/tasks/roboarc-cast-coil-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-coil-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:6c6874fd873006a42baad97e4387e5d2fd099b74af07ed9ad19de750d2d9e8c2
+sha256:ba86f8c671e51f2f0928d2266cdff6af41a6c9440c15be4d80dffa4e620526a5
diff --git a/tasks/roboarc-cast-coil-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-coil-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-coil-01-i01-privileged/environment/runtime_binding.json
index 2898ed8acd..f76f4cda29 100644
--- a/tasks/roboarc-cast-coil-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-01-i01-privileged/environment/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-coil-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-coil-01-i01-privileged/tests/runtime_binding.json
index 2898ed8acd..f76f4cda29 100644
--- a/tasks/roboarc-cast-coil-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-01-i01-privileged/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-01-i01-standard/DIGEST b/tasks/roboarc-cast-coil-01-i01-standard/DIGEST
index 803138e504..9a9c71c719 100644
--- a/tasks/roboarc-cast-coil-01-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-coil-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:bd9c85073bc9ee53d18f5b46be3565cd302ce8fe0413a3c72850b81137881c0e
+sha256:3283a9900a6dc64ddd50f59e93a3179a2de46c1f880f187bc51b7e653cfc9c3a
diff --git a/tasks/roboarc-cast-coil-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-coil-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-coil-01-i01-standard/environment/sim/runtime_binding.json
index 2898ed8acd..f76f4cda29 100644
--- a/tasks/roboarc-cast-coil-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-01-i01-standard/environment/sim/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-coil-01-i01-standard/tests/runtime_binding.json
index 2898ed8acd..f76f4cda29 100644
--- a/tasks/roboarc-cast-coil-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-01-i01-standard/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-02-i01-privileged/DIGEST b/tasks/roboarc-cast-coil-02-i01-privileged/DIGEST
index 4ed5e9086a..129d381752 100644
--- a/tasks/roboarc-cast-coil-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-coil-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:6be6fa0cb7962f9ee4d88c02de456dc716e100830432101e42106c0bba46d18c
+sha256:b85c37011d2766702a5acd2367b9e0dd50b8e8e2245765138ea0f447becc7b44
diff --git a/tasks/roboarc-cast-coil-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-coil-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-coil-02-i01-privileged/environment/runtime_binding.json
index a48435da83..e117e5586f 100644
--- a/tasks/roboarc-cast-coil-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-02-i01-privileged/environment/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-coil-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-coil-02-i01-privileged/tests/runtime_binding.json
index a48435da83..e117e5586f 100644
--- a/tasks/roboarc-cast-coil-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-02-i01-privileged/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-02-i01-standard/DIGEST b/tasks/roboarc-cast-coil-02-i01-standard/DIGEST
index 2c06c483e9..93356e86f6 100644
--- a/tasks/roboarc-cast-coil-02-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-coil-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:09689e9e81dad9a4285552b07c3324afc81304b39b005d43bcc2e702c0dcf18d
+sha256:f9331e9f3332007ec01abd2db1200700c26cc75b5e44ff056fe0d6c6f954bbd3
diff --git a/tasks/roboarc-cast-coil-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-coil-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-coil-02-i01-standard/environment/sim/runtime_binding.json
index a48435da83..e117e5586f 100644
--- a/tasks/roboarc-cast-coil-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-02-i01-standard/environment/sim/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-coil-02-i01-standard/tests/runtime_binding.json
index a48435da83..e117e5586f 100644
--- a/tasks/roboarc-cast-coil-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-02-i01-standard/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-03-i01-privileged/DIGEST b/tasks/roboarc-cast-coil-03-i01-privileged/DIGEST
index 9791dbc3be..8dc595db25 100644
--- a/tasks/roboarc-cast-coil-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-coil-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:70e2e645767f9db193b77a171a9e0f8f46a638ce0586ca118e82dc8b1bb4679b
+sha256:09cd91dc7989f00d5b9a1b79bd3f47a445f24dca5bd2f3f375b013b8f992e6a3
diff --git a/tasks/roboarc-cast-coil-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-coil-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-coil-03-i01-privileged/environment/runtime_binding.json
index de7bdd4e07..067d676ff3 100644
--- a/tasks/roboarc-cast-coil-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-03-i01-privileged/environment/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-coil-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-coil-03-i01-privileged/tests/runtime_binding.json
index de7bdd4e07..067d676ff3 100644
--- a/tasks/roboarc-cast-coil-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-03-i01-privileged/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-03-i01-standard/DIGEST b/tasks/roboarc-cast-coil-03-i01-standard/DIGEST
index 57dfd5ee38..e89c6b7c61 100644
--- a/tasks/roboarc-cast-coil-03-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-coil-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:d3dbdf5470017c281277edd80adbd6bb3de4af701b3be46f9994d1f2233c84f1
+sha256:9fcbec3db4891d9a2ce624f4d32c7f82b6d5089fea1903f02265855baa1edcc4
diff --git a/tasks/roboarc-cast-coil-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-coil-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-coil-03-i01-standard/environment/sim/runtime_binding.json
index de7bdd4e07..067d676ff3 100644
--- a/tasks/roboarc-cast-coil-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-03-i01-standard/environment/sim/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-coil-03-i01-standard/tests/runtime_binding.json
index de7bdd4e07..067d676ff3 100644
--- a/tasks/roboarc-cast-coil-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-03-i01-standard/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-04-i01-privileged/DIGEST b/tasks/roboarc-cast-coil-04-i01-privileged/DIGEST
index d3f70e0898..32cb25949f 100644
--- a/tasks/roboarc-cast-coil-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-coil-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:52eedf498cf8b318e8e673d8627860b9124a942235cfaf3342df3f605debc4b7
+sha256:b1c3c2df3835e06d9e3c555e04f4d3c94616ddd358914563a81b5d59aeab33df
diff --git a/tasks/roboarc-cast-coil-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-coil-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-coil-04-i01-privileged/environment/runtime_binding.json
index 4130e7a190..b8b3b5c918 100644
--- a/tasks/roboarc-cast-coil-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-04-i01-privileged/environment/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-coil-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-coil-04-i01-privileged/tests/runtime_binding.json
index 4130e7a190..b8b3b5c918 100644
--- a/tasks/roboarc-cast-coil-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-04-i01-privileged/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-04-i01-standard/DIGEST b/tasks/roboarc-cast-coil-04-i01-standard/DIGEST
index 6adfa692b5..971cef43f7 100644
--- a/tasks/roboarc-cast-coil-04-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-coil-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:f81ae9d7f966cc73662d7de5107db7fe49277567594796665fbf679fe78852ea
+sha256:bb9d44b129373d66afdb60884ddcbf11474f2b9b188810365ef897b0e28adb39
diff --git a/tasks/roboarc-cast-coil-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-coil-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-coil-04-i01-standard/environment/sim/runtime_binding.json
index 4130e7a190..b8b3b5c918 100644
--- a/tasks/roboarc-cast-coil-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-04-i01-standard/environment/sim/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-coil-04-i01-standard/tests/runtime_binding.json
index 4130e7a190..b8b3b5c918 100644
--- a/tasks/roboarc-cast-coil-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-04-i01-standard/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-05-i01-privileged/DIGEST b/tasks/roboarc-cast-coil-05-i01-privileged/DIGEST
index abaccaa72d..d5c3f133a4 100644
--- a/tasks/roboarc-cast-coil-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-coil-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:843d52bbcd3515f28e3be6b95eb7d8e3f3b130f806e9bcb3e6028d8994342ef5
+sha256:e1a07f3c65035d37ce2ace526d5eda28d57237ab7a698baff95dc122226536db
diff --git a/tasks/roboarc-cast-coil-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-coil-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-coil-05-i01-privileged/environment/runtime_binding.json
index 1c12f35c7d..7c442c9e0a 100644
--- a/tasks/roboarc-cast-coil-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-05-i01-privileged/environment/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-coil-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-coil-05-i01-privileged/tests/runtime_binding.json
index 1c12f35c7d..7c442c9e0a 100644
--- a/tasks/roboarc-cast-coil-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-05-i01-privileged/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-05-i01-standard/DIGEST b/tasks/roboarc-cast-coil-05-i01-standard/DIGEST
index d899abe855..f1c58c5037 100644
--- a/tasks/roboarc-cast-coil-05-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-coil-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:5f326cb82a089a29e4a02bb8b772afb602e52648788abe81deffffd6a7a7a559
+sha256:8c272a28b36c8f14364e717c19e5792e8e0637ae7cbaac963b213b3efb5edb5b
diff --git a/tasks/roboarc-cast-coil-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-coil-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-coil-05-i01-standard/environment/sim/runtime_binding.json
index 1c12f35c7d..7c442c9e0a 100644
--- a/tasks/roboarc-cast-coil-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-05-i01-standard/environment/sim/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-coil-05-i01-standard/tests/runtime_binding.json
index 1c12f35c7d..7c442c9e0a 100644
--- a/tasks/roboarc-cast-coil-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-05-i01-standard/tests/runtime_binding.json
@@ -38,5 +38,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-06-i01-privileged/DIGEST b/tasks/roboarc-cast-coil-06-i01-privileged/DIGEST
index 0b5ef4cb39..448a83b5fe 100644
--- a/tasks/roboarc-cast-coil-06-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-coil-06-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:f8657f1638f774dc4831a27a2ebd447437d8f4dc63b688cac119ef74eaa981a1
+sha256:5535943028bf6ef80f9a63efa6066057e77ac97627e429f5426fb265bb54c85a
diff --git a/tasks/roboarc-cast-coil-06-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-coil-06-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-06-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-06-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-06-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-coil-06-i01-privileged/environment/runtime_binding.json
index 7387742051..dd0b118a07 100644
--- a/tasks/roboarc-cast-coil-06-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-06-i01-privileged/environment/runtime_binding.json
@@ -40,5 +40,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-06-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-coil-06-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-06-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-06-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-06-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-coil-06-i01-privileged/tests/runtime_binding.json
index 7387742051..dd0b118a07 100644
--- a/tasks/roboarc-cast-coil-06-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-06-i01-privileged/tests/runtime_binding.json
@@ -40,5 +40,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-06-i01-standard/DIGEST b/tasks/roboarc-cast-coil-06-i01-standard/DIGEST
index d2b19e9b1e..e82ada4a99 100644
--- a/tasks/roboarc-cast-coil-06-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-coil-06-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:25f1294c66e8444ed8632abf24533ae4ba05f08c872baecdd98e66e896bc0856
+sha256:ff99ccec34231369c0600771e235b6facdc8bff9c9c8e36aa8e8d7edfce11fac
diff --git a/tasks/roboarc-cast-coil-06-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-coil-06-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-06-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-06-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-06-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-coil-06-i01-standard/environment/sim/runtime_binding.json
index 7387742051..dd0b118a07 100644
--- a/tasks/roboarc-cast-coil-06-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-06-i01-standard/environment/sim/runtime_binding.json
@@ -40,5 +40,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-06-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-coil-06-i01-standard/tests/runtime_binding.json
index 7387742051..dd0b118a07 100644
--- a/tasks/roboarc-cast-coil-06-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-06-i01-standard/tests/runtime_binding.json
@@ -40,5 +40,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-07-i01-privileged/DIGEST b/tasks/roboarc-cast-coil-07-i01-privileged/DIGEST
index adcc619e01..5300638c78 100644
--- a/tasks/roboarc-cast-coil-07-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-coil-07-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:f5842fc3de5481be801385d1e23e5ddf9bbac3cc935868e1a0ea956b2be1fe4b
+sha256:446443e8bc9eeb0644d4bea43e8d10fdf9bf5daa0888031cd78820f5d2281636
diff --git a/tasks/roboarc-cast-coil-07-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-coil-07-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-07-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-07-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-07-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-coil-07-i01-privileged/environment/runtime_binding.json
index 86c4be2362..f76523187d 100644
--- a/tasks/roboarc-cast-coil-07-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-07-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-07-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-coil-07-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-07-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-07-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-07-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-coil-07-i01-privileged/tests/runtime_binding.json
index 86c4be2362..f76523187d 100644
--- a/tasks/roboarc-cast-coil-07-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-07-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-07-i01-standard/DIGEST b/tasks/roboarc-cast-coil-07-i01-standard/DIGEST
index 09a137eb2f..f8fc6c693e 100644
--- a/tasks/roboarc-cast-coil-07-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-coil-07-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:2ec1d21aaf99a085cfc49954c69bf4d5ffc46d73b879024a00e0795ed2e40e9f
+sha256:ada36e916ab180a691f31ee135ba14aeca9d58eaa0f53ab215d9b6a663c91d51
diff --git a/tasks/roboarc-cast-coil-07-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-coil-07-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-07-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-07-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-07-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-coil-07-i01-standard/environment/sim/runtime_binding.json
index 86c4be2362..f76523187d 100644
--- a/tasks/roboarc-cast-coil-07-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-07-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-07-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-coil-07-i01-standard/tests/runtime_binding.json
index 86c4be2362..f76523187d 100644
--- a/tasks/roboarc-cast-coil-07-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-07-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-08-i01-privileged/DIGEST b/tasks/roboarc-cast-coil-08-i01-privileged/DIGEST
index 6cbb528eb0..f0651f9182 100644
--- a/tasks/roboarc-cast-coil-08-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-coil-08-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:e3edf059c90d9e48fc5d45962ea9e76064206a0576be05df3e54c4a75f668cb3
+sha256:4788e56abbff1de42c20e4c7106e24d149292b61b2d0c54153060bbb28d220f1
diff --git a/tasks/roboarc-cast-coil-08-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-coil-08-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-08-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-08-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-08-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-coil-08-i01-privileged/environment/runtime_binding.json
index 9acf81a7a2..dd859ee724 100644
--- a/tasks/roboarc-cast-coil-08-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-08-i01-privileged/environment/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-08-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-coil-08-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-08-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-08-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-08-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-coil-08-i01-privileged/tests/runtime_binding.json
index 9acf81a7a2..dd859ee724 100644
--- a/tasks/roboarc-cast-coil-08-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-08-i01-privileged/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-08-i01-standard/DIGEST b/tasks/roboarc-cast-coil-08-i01-standard/DIGEST
index 766cf453ba..7daa1a5e27 100644
--- a/tasks/roboarc-cast-coil-08-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-coil-08-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:6d996a1b290d5606d9639c65805c05a4c4c69df4b07bc786c750dcd864cb2b89
+sha256:3bac463724f2e4d85164e3379c7fb03ef1c5e961a6d603d5ed956ba4df2f6439
diff --git a/tasks/roboarc-cast-coil-08-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-coil-08-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-coil-08-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-coil-08-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-coil-08-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-coil-08-i01-standard/environment/sim/runtime_binding.json
index 9acf81a7a2..dd859ee724 100644
--- a/tasks/roboarc-cast-coil-08-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-08-i01-standard/environment/sim/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-coil-08-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-coil-08-i01-standard/tests/runtime_binding.json
index 9acf81a7a2..dd859ee724 100644
--- a/tasks/roboarc-cast-coil-08-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-coil-08-i01-standard/tests/runtime_binding.json
@@ -43,5 +43,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-01-i01-privileged/DIGEST b/tasks/roboarc-cast-keyhole-01-i01-privileged/DIGEST
index 141a661973..a43351de60 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-keyhole-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:6adb9fa22b1d5e8fbe93af0747faa7b407d9a1fb9e301507b6cd3a26ac57e458
+sha256:7b73406c7484cdff89fdf210b2c10b02e5f19cb4f16c909b7786b9d0d957a729
diff --git a/tasks/roboarc-cast-keyhole-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-keyhole-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-keyhole-01-i01-privileged/environment/runtime_binding.json
index 3113a1ebb5..1f986d5d1a 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-01-i01-privileged/environment/runtime_binding.json
@@ -75,5 +75,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-keyhole-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-01-i01-privileged/tests/runtime_binding.json
index 3113a1ebb5..1f986d5d1a 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-01-i01-privileged/tests/runtime_binding.json
@@ -75,5 +75,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-01-i01-standard/DIGEST b/tasks/roboarc-cast-keyhole-01-i01-standard/DIGEST
index f740c2e187..047870d77d 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-keyhole-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:ef7631a5dff6b9f9ff8bf1828213be7b944fb75ea2f17e93130be94fa51a7395
+sha256:6670258bcd8bc5f9b06a6e2e6a1577c9327b39a051b78b75b15d73a6c3c45829
diff --git a/tasks/roboarc-cast-keyhole-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-keyhole-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-keyhole-01-i01-standard/environment/sim/runtime_binding.json
index 3113a1ebb5..1f986d5d1a 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-01-i01-standard/environment/sim/runtime_binding.json
@@ -75,5 +75,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-01-i01-standard/tests/runtime_binding.json
index 3113a1ebb5..1f986d5d1a 100644
--- a/tasks/roboarc-cast-keyhole-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-01-i01-standard/tests/runtime_binding.json
@@ -75,5 +75,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-02-i01-privileged/DIGEST b/tasks/roboarc-cast-keyhole-02-i01-privileged/DIGEST
index 00fa109aa2..67db44b86f 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-keyhole-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:890ec8424d8ddbedae9067dbd7096e67a4fed13d9a61425b05ff7d86a4886135
+sha256:470ad36442ce01b1da41ab562e668867f03f9882e2797c4f2ea6b794c979f6af
diff --git a/tasks/roboarc-cast-keyhole-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-keyhole-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-keyhole-02-i01-privileged/environment/runtime_binding.json
index 66ab139cd6..bc907ebe49 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-02-i01-privileged/environment/runtime_binding.json
@@ -76,5 +76,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-keyhole-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-02-i01-privileged/tests/runtime_binding.json
index 66ab139cd6..bc907ebe49 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-02-i01-privileged/tests/runtime_binding.json
@@ -76,5 +76,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-02-i01-standard/DIGEST b/tasks/roboarc-cast-keyhole-02-i01-standard/DIGEST
index 3f539e5299..ceac99571b 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-keyhole-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:762ccf36e02d3e8dac351f6f45943b2bc66ba772a8ff0161aea322ae44024d82
+sha256:284319a3a12d5072cf952fde2a3e25323a3b2b2bf9a73ffb9c732b7c3eee6e08
diff --git a/tasks/roboarc-cast-keyhole-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-keyhole-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-keyhole-02-i01-standard/environment/sim/runtime_binding.json
index 66ab139cd6..bc907ebe49 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-02-i01-standard/environment/sim/runtime_binding.json
@@ -76,5 +76,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-02-i01-standard/tests/runtime_binding.json
index 66ab139cd6..bc907ebe49 100644
--- a/tasks/roboarc-cast-keyhole-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-02-i01-standard/tests/runtime_binding.json
@@ -76,5 +76,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-03-i01-privileged/DIGEST b/tasks/roboarc-cast-keyhole-03-i01-privileged/DIGEST
index 4d451bf1cb..c74f561895 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-keyhole-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:b43ba70dcb01ef62902322ae97679158643d78e5a7502383bf83d2baa6fed97b
+sha256:d862224550fedc08588f703f7329badc4753f3033d72f749cd47a7eeef818ed5
diff --git a/tasks/roboarc-cast-keyhole-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-keyhole-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-keyhole-03-i01-privileged/environment/runtime_binding.json
index 777fcff1df..b31026504e 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-03-i01-privileged/environment/runtime_binding.json
@@ -114,5 +114,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-keyhole-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-03-i01-privileged/tests/runtime_binding.json
index 777fcff1df..b31026504e 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-03-i01-privileged/tests/runtime_binding.json
@@ -114,5 +114,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-03-i01-standard/DIGEST b/tasks/roboarc-cast-keyhole-03-i01-standard/DIGEST
index ccadbaca52..7131f21798 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-keyhole-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:f0c84ab8e1e10ed974bae2fc4db48507ef8f90b35cecfbb4faccc94ce1112d85
+sha256:fb5f65f17b85b9cda6da31c13f57921faeeb5c2c213e6a120a3fdf24386579c6
diff --git a/tasks/roboarc-cast-keyhole-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-keyhole-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-keyhole-03-i01-standard/environment/sim/runtime_binding.json
index 777fcff1df..b31026504e 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-03-i01-standard/environment/sim/runtime_binding.json
@@ -114,5 +114,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-03-i01-standard/tests/runtime_binding.json
index 777fcff1df..b31026504e 100644
--- a/tasks/roboarc-cast-keyhole-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-03-i01-standard/tests/runtime_binding.json
@@ -114,5 +114,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-04-i01-privileged/DIGEST b/tasks/roboarc-cast-keyhole-04-i01-privileged/DIGEST
index 2598ffa557..76afbbbbd9 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-keyhole-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:35f1ecee3fb5516b4b4f2f363d3e69f17badfa8d80e5d51c075d7c1888d31943
+sha256:2982974d07ecba52fa5f44ceffed2d863392e39fbb6b356aff148fa794b87d15
diff --git a/tasks/roboarc-cast-keyhole-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-keyhole-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-keyhole-04-i01-privileged/environment/runtime_binding.json
index 66d7ae9923..59efe87b6d 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-04-i01-privileged/environment/runtime_binding.json
@@ -94,5 +94,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-keyhole-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-04-i01-privileged/tests/runtime_binding.json
index 66d7ae9923..59efe87b6d 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-04-i01-privileged/tests/runtime_binding.json
@@ -94,5 +94,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-04-i01-standard/DIGEST b/tasks/roboarc-cast-keyhole-04-i01-standard/DIGEST
index 39731dc43d..88ecdf4900 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-keyhole-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:393335e8f0206d8a69fa4782dd51944617f9a4e9d19d7e0fd07e41457e079e11
+sha256:62a028a3fd5b17212d5f9df991e22abbab4ba2645eafc2360905edf86c2c94ee
diff --git a/tasks/roboarc-cast-keyhole-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-keyhole-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-keyhole-04-i01-standard/environment/sim/runtime_binding.json
index 66d7ae9923..59efe87b6d 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-04-i01-standard/environment/sim/runtime_binding.json
@@ -94,5 +94,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-04-i01-standard/tests/runtime_binding.json
index 66d7ae9923..59efe87b6d 100644
--- a/tasks/roboarc-cast-keyhole-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-04-i01-standard/tests/runtime_binding.json
@@ -94,5 +94,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-05-i01-privileged/DIGEST b/tasks/roboarc-cast-keyhole-05-i01-privileged/DIGEST
index 6259fa7766..299b7dd771 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-keyhole-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:2eedc1a7a3235cc42cf49da8f56c0b0c6ea0e0e3489bf29054afd68315a4fa9b
+sha256:40ef45ef7d9c8dbd508ad984ac9331b2d9c2c0396905fb21ccc1cfef5fb30164
diff --git a/tasks/roboarc-cast-keyhole-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-keyhole-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-keyhole-05-i01-privileged/environment/runtime_binding.json
index 4cd0ee2d11..e4fd2438b1 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-05-i01-privileged/environment/runtime_binding.json
@@ -128,5 +128,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-keyhole-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-05-i01-privileged/tests/runtime_binding.json
index 4cd0ee2d11..e4fd2438b1 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-05-i01-privileged/tests/runtime_binding.json
@@ -128,5 +128,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-05-i01-standard/DIGEST b/tasks/roboarc-cast-keyhole-05-i01-standard/DIGEST
index 30b5d3eabe..88410733bd 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-keyhole-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:7c6d4d543e4ba6f6a75b2bb9b3aba06221f9277d831efd3935e7881795e0eda8
+sha256:207481f409d27fc2435078def348823c620ab68a1f7b1dcd1b2874b2f4850e40
diff --git a/tasks/roboarc-cast-keyhole-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-keyhole-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-keyhole-05-i01-standard/environment/sim/runtime_binding.json
index 4cd0ee2d11..e4fd2438b1 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-05-i01-standard/environment/sim/runtime_binding.json
@@ -128,5 +128,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-05-i01-standard/tests/runtime_binding.json
index 4cd0ee2d11..e4fd2438b1 100644
--- a/tasks/roboarc-cast-keyhole-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-05-i01-standard/tests/runtime_binding.json
@@ -128,5 +128,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-06-i01-privileged/DIGEST b/tasks/roboarc-cast-keyhole-06-i01-privileged/DIGEST
index 9a6990367e..8463c40a90 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-privileged/DIGEST
+++ b/tasks/roboarc-cast-keyhole-06-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:88f8c6c839724bf9d895c4c68c888b2cd6663eadc7fe7a8e083526308435b8e5
+sha256:b7261cd4d0635f23b0d7b66f07a79990e404c7d1eb64623f152df12eff176d0f
diff --git a/tasks/roboarc-cast-keyhole-06-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-cast-keyhole-06-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-06-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-06-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-cast-keyhole-06-i01-privileged/environment/runtime_binding.json
index 0892403be6..4d031c76e8 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-06-i01-privileged/environment/runtime_binding.json
@@ -132,5 +132,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-06-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-cast-keyhole-06-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-06-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-06-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-06-i01-privileged/tests/runtime_binding.json
index 0892403be6..4d031c76e8 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-06-i01-privileged/tests/runtime_binding.json
@@ -132,5 +132,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-06-i01-standard/DIGEST b/tasks/roboarc-cast-keyhole-06-i01-standard/DIGEST
index 8a39ac9ee8..7b24647772 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-standard/DIGEST
+++ b/tasks/roboarc-cast-keyhole-06-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:1690f44f26639e14b591203383ebac1dbc9ee06128de3e0a1be8ba557dcc9af3
+sha256:b7bd82bf83f219375fda8d5cbeb7b3fce74ed17111512b5ac4328479a170c25c
diff --git a/tasks/roboarc-cast-keyhole-06-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-cast-keyhole-06-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-cast-keyhole-06-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-cast-keyhole-06-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-cast-keyhole-06-i01-standard/environment/sim/runtime_binding.json
index 0892403be6..4d031c76e8 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-06-i01-standard/environment/sim/runtime_binding.json
@@ -132,5 +132,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-cast-keyhole-06-i01-standard/tests/runtime_binding.json b/tasks/roboarc-cast-keyhole-06-i01-standard/tests/runtime_binding.json
index 0892403be6..4d031c76e8 100644
--- a/tasks/roboarc-cast-keyhole-06-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-cast-keyhole-06-i01-standard/tests/runtime_binding.json
@@ -132,5 +132,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-01-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-01-i01-privileged/DIGEST
index 4de714ca82..7185cd4198 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:e1198480b132169b8a66f2638ff99e385e8c6b3458c95b85189d5abe674e4b0f
+sha256:637f9cbd570b6a3d36c2d0f76b14d631a149eccc3fa91507bdfb8c706ba3d975
diff --git a/tasks/roboarc-fiber-bundling-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-01-i01-privileged/environment/runtime_binding.json
index 1859bc4e90..52a4ee3fe5 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-01-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-01-i01-privileged/tests/runtime_binding.json
index 1859bc4e90..52a4ee3fe5 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-01-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-01-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-01-i01-standard/DIGEST
index 533d05e45f..ff24a3f685 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:30a419e10a314fa6635fe07d77ab835ec756c196de873d8550ea3590e1c999e8
+sha256:3adb131079533b529accefda34defbf0d0b022212dd98f4c2d31ebe5ce7b6c13
diff --git a/tasks/roboarc-fiber-bundling-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-01-i01-standard/environment/sim/runtime_binding.json
index 1859bc4e90..52a4ee3fe5 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-01-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-01-i01-standard/tests/runtime_binding.json
index 1859bc4e90..52a4ee3fe5 100644
--- a/tasks/roboarc-fiber-bundling-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-01-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-02-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-02-i01-privileged/DIGEST
index b635160061..5ac3bcef46 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:2d2c44a49792ce873247805f7fa00dc64af013b28bf6b7de2724728f23de2852
+sha256:038d67893d1871c332af4504dd30382cb4299d3039751b502512f71a00a42718
diff --git a/tasks/roboarc-fiber-bundling-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-02-i01-privileged/environment/runtime_binding.json
index 3747f3fee2..e96ae3f882 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-02-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-02-i01-privileged/tests/runtime_binding.json
index 3747f3fee2..e96ae3f882 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-02-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-02-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-02-i01-standard/DIGEST
index a53e54705d..353235b303 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:913722cd7be61814b958bf6f19c00f8d1133216755c545c1d80a3209023a4fa7
+sha256:8d60cc44bde85ead3331af670bdd411b24b5d2a0ba7549268f32ed774c6ab6d4
diff --git a/tasks/roboarc-fiber-bundling-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-02-i01-standard/environment/sim/runtime_binding.json
index 3747f3fee2..e96ae3f882 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-02-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-02-i01-standard/tests/runtime_binding.json
index 3747f3fee2..e96ae3f882 100644
--- a/tasks/roboarc-fiber-bundling-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-02-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-03-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-03-i01-privileged/DIGEST
index 8650e7f229..3d28781f99 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:6488b6ac659c9e98f33d8da8f42de7c12135ec148657a4314dfe800774f630bf
+sha256:15fba5f4522026b776e2295d6e92e7a2de173a96a6eaf48cfb454f002a0fc79d
diff --git a/tasks/roboarc-fiber-bundling-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-03-i01-privileged/environment/runtime_binding.json
index 3f48e16ba4..34c5dc3509 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-03-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-03-i01-privileged/tests/runtime_binding.json
index 3f48e16ba4..34c5dc3509 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-03-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-03-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-03-i01-standard/DIGEST
index ca5aadb02b..1d0dfeeb24 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:3f51646a2da9aec35794c1859a92acba6b8089cc58707b4b645f30da8892ba53
+sha256:4171e77d567a9739d2d57cac769461b01d6a291825c94b7632ef00238732e12e
diff --git a/tasks/roboarc-fiber-bundling-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-03-i01-standard/environment/sim/runtime_binding.json
index 3f48e16ba4..34c5dc3509 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-03-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-03-i01-standard/tests/runtime_binding.json
index 3f48e16ba4..34c5dc3509 100644
--- a/tasks/roboarc-fiber-bundling-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-03-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-04-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-04-i01-privileged/DIGEST
index 24190f3280..a53d4810c2 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:e0dc5e79ab9b5084fc2df83317885b5b896bb4bc674c71fd16737bf684a550db
+sha256:58569a10b52e25536ada634d3f560fc0d099dec1dc485106ca3109e38473bad9
diff --git a/tasks/roboarc-fiber-bundling-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-04-i01-privileged/environment/runtime_binding.json
index 427b07dcd4..1bf77101fb 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-04-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-04-i01-privileged/tests/runtime_binding.json
index 427b07dcd4..1bf77101fb 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-04-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-04-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-04-i01-standard/DIGEST
index 9dc7f23912..afda58fe6c 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:281b98356664ca3298c43fb3bd6db50d527e63f963fe5182ae4823ff0b9ae7da
+sha256:cbeba34c6b97d9da7781e42d6cc9f898e80cb1b5f4a0bd18fe580009c591e5ec
diff --git a/tasks/roboarc-fiber-bundling-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-04-i01-standard/environment/sim/runtime_binding.json
index 427b07dcd4..1bf77101fb 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-04-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-04-i01-standard/tests/runtime_binding.json
index 427b07dcd4..1bf77101fb 100644
--- a/tasks/roboarc-fiber-bundling-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-04-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-05-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-05-i01-privileged/DIGEST
index 61426d07da..a992279129 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:c92db0ce64957dcd3b600517408f51004c349350b76edc69f29fe125f83b593e
+sha256:543a9edca70081c7429a83c2af97283375809aee54bb65ceef0ad2846f2cba6e
diff --git a/tasks/roboarc-fiber-bundling-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-05-i01-privileged/environment/runtime_binding.json
index afa3c865e2..678f1f2e06 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-05-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-05-i01-privileged/tests/runtime_binding.json
index afa3c865e2..678f1f2e06 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-05-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-05-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-05-i01-standard/DIGEST
index 7c2a62f13c..8560de9183 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:5b85b3729769147d36272241f2bf4bf0fe3e7b32c751b47396145f0483a3985c
+sha256:4e3e6dbce5e58c343c187298d8028a98a4d8e6fce0b4a087e2afc8101f64e3c6
diff --git a/tasks/roboarc-fiber-bundling-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-05-i01-standard/environment/sim/runtime_binding.json
index afa3c865e2..678f1f2e06 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-05-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-05-i01-standard/tests/runtime_binding.json
index afa3c865e2..678f1f2e06 100644
--- a/tasks/roboarc-fiber-bundling-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-05-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-06-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-06-i01-privileged/DIGEST
index 2dad79e0e1..8130d0f0d5 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-06-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:9dfd43b679540cb6aa7c4f6223ebc4104d11bf82e22d8806048aa2a61cf9666c
+sha256:e623caee01184ffc90e4d10c2db78043769aa93a5fe76a8472e1d3d18551120f
diff --git a/tasks/roboarc-fiber-bundling-06-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-06-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-06-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-06-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-06-i01-privileged/environment/runtime_binding.json
index 666e11f699..168b4f0dfb 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-06-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-06-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-06-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-06-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-06-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-06-i01-privileged/tests/runtime_binding.json
index 666e11f699..168b4f0dfb 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-06-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-06-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-06-i01-standard/DIGEST
index ce52a49a59..34b0a175f1 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-06-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:daa48f12729670ef629295a3e16bf430785f6a59a75d150ffb4ff6b7fc23cc27
+sha256:849a6e97c87b07cc1ce8a1372757199627ba976ba7972fefc97c64effd869615
diff --git a/tasks/roboarc-fiber-bundling-06-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-06-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-06-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-06-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-06-i01-standard/environment/sim/runtime_binding.json
index 666e11f699..168b4f0dfb 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-06-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-06-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-06-i01-standard/tests/runtime_binding.json
index 666e11f699..168b4f0dfb 100644
--- a/tasks/roboarc-fiber-bundling-06-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-06-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-07-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-07-i01-privileged/DIGEST
index 5b3786629e..eff7c84e69 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-07-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:905023f8895632412986f7468572ead310a1a3f7c9570d5cc098f8726b4c4e7d
+sha256:91c8f3431a788aeec385e6dbbac2fb84245e331dd9127df1a68dfd2c260ec639
diff --git a/tasks/roboarc-fiber-bundling-07-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-07-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-07-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-07-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-07-i01-privileged/environment/runtime_binding.json
index 9635f5da5f..49e9be9b0a 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-07-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-07-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-07-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-07-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-07-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-07-i01-privileged/tests/runtime_binding.json
index 9635f5da5f..49e9be9b0a 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-07-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-07-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-07-i01-standard/DIGEST
index c1d8073cf8..ca2086e6d1 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-07-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:61cb085c3d8ecbb455ba3968e65284ca027c8fe796c086a7b7c9bd3958a0dc96
+sha256:59214f05e7070f0b09cafda13cfb91e09576dc5747272312a303293c95a8a88f
diff --git a/tasks/roboarc-fiber-bundling-07-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-07-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-07-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-07-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-07-i01-standard/environment/sim/runtime_binding.json
index 9635f5da5f..49e9be9b0a 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-07-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-07-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-07-i01-standard/tests/runtime_binding.json
index 9635f5da5f..49e9be9b0a 100644
--- a/tasks/roboarc-fiber-bundling-07-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-07-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-08-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-08-i01-privileged/DIGEST
index b36642cd8d..5877923a06 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-08-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:80f0ff6c2bdddfadbf825290d11223b579d639f83c8c3a83f8d2c8c2683de9e3
+sha256:dbb578b6a8b79997ea024f5b36609371fc05339b094a66f5b7f132bf936197e7
diff --git a/tasks/roboarc-fiber-bundling-08-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-08-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-08-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-08-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-08-i01-privileged/environment/runtime_binding.json
index 22ba95433e..cf338402b0 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-08-i01-privileged/environment/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-08-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-08-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-08-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-08-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-08-i01-privileged/tests/runtime_binding.json
index 22ba95433e..cf338402b0 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-08-i01-privileged/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-08-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-08-i01-standard/DIGEST
index 3864806701..d4434ee5a3 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-08-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:ca93ad5e23e02396f38a6dcbd58e7b7c43eae0fccc4583165ed9a4dbe1a226b8
+sha256:d00157fcb0362cb6293dc5d8300d4d8e1d19814268e9805c0c75c1e230d92a98
diff --git a/tasks/roboarc-fiber-bundling-08-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-08-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-08-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-08-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-08-i01-standard/environment/sim/runtime_binding.json
index 22ba95433e..cf338402b0 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-08-i01-standard/environment/sim/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-08-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-08-i01-standard/tests/runtime_binding.json
index 22ba95433e..cf338402b0 100644
--- a/tasks/roboarc-fiber-bundling-08-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-08-i01-standard/tests/runtime_binding.json
@@ -42,5 +42,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-09-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-09-i01-privileged/DIGEST
index bcacfd92ca..ae4fd622ce 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-09-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:61ab51e8becad2c7f0a202839788b52e3c941dca474a8ceac93d8bc9993071a9
+sha256:e139aee43a9adf85780f15ef61c7dabefb4882934bfb03773597ecf7482557ee
diff --git a/tasks/roboarc-fiber-bundling-09-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-09-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-09-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-09-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-09-i01-privileged/environment/runtime_binding.json
index 0d21e42892..eac705d000 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-09-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-09-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-09-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-09-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-09-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-09-i01-privileged/tests/runtime_binding.json
index 0d21e42892..eac705d000 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-09-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-09-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-09-i01-standard/DIGEST
index e974a8d4bf..be5ae74c35 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-09-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:e689c143f80564e9af8781a1cc90f570e37142c1e9c8f4b71ae5cc0825d37926
+sha256:5a69070f8e45c293f376fe1d8cb920136bb5ebb3fc6da44f77f9f0fbf25da281
diff --git a/tasks/roboarc-fiber-bundling-09-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-09-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-09-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-09-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-09-i01-standard/environment/sim/runtime_binding.json
index 0d21e42892..eac705d000 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-09-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-09-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-09-i01-standard/tests/runtime_binding.json
index 0d21e42892..eac705d000 100644
--- a/tasks/roboarc-fiber-bundling-09-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-09-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-10-i01-privileged/DIGEST b/tasks/roboarc-fiber-bundling-10-i01-privileged/DIGEST
index 4c9b91ae5d..662428b023 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-privileged/DIGEST
+++ b/tasks/roboarc-fiber-bundling-10-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:6f1d5e350b3d371b5fc3b21c9b7f4c75bcc7671e9dbb82182e8873680951dd58
+sha256:265c6ea4895a22f17d6e86ed98edd167ce2b0ad7418c67301625ada74e59cfd6
diff --git a/tasks/roboarc-fiber-bundling-10-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-fiber-bundling-10-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-10-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-10-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-fiber-bundling-10-i01-privileged/environment/runtime_binding.json
index c463de9e37..20cf4bb63e 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-10-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-10-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-fiber-bundling-10-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-10-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-10-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-10-i01-privileged/tests/runtime_binding.json
index c463de9e37..20cf4bb63e 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-10-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-10-i01-standard/DIGEST b/tasks/roboarc-fiber-bundling-10-i01-standard/DIGEST
index aabc6ba485..43c0966b28 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-standard/DIGEST
+++ b/tasks/roboarc-fiber-bundling-10-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:bcda105f6cab36db83d95c6fc2a12e87d98986b06bc65292be7970c213365981
+sha256:5c0e39b00ed65b2ae1f41987309a8d9937c296d9c1a812ec0d4abaa84caaf3d1
diff --git a/tasks/roboarc-fiber-bundling-10-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-fiber-bundling-10-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-fiber-bundling-10-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-fiber-bundling-10-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-fiber-bundling-10-i01-standard/environment/sim/runtime_binding.json
index c463de9e37..20cf4bb63e 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-10-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-fiber-bundling-10-i01-standard/tests/runtime_binding.json b/tasks/roboarc-fiber-bundling-10-i01-standard/tests/runtime_binding.json
index c463de9e37..20cf4bb63e 100644
--- a/tasks/roboarc-fiber-bundling-10-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-fiber-bundling-10-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/DIGEST b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/DIGEST
index addb596653..108671ea99 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:0f76038c0173eeac3b033b2ff0d9bc3067f7301baf7271d9a6b14be40863dd05
+sha256:e18b8325703198232947482b482956db400f4b89c63ea88ced3ec658a7aa4d74
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/environment/runtime_binding.json
index c723d4a354..ab88baa2f5 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/environment/runtime_binding.json
@@ -538,5 +538,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/tests/runtime_binding.json
index c723d4a354..ab88baa2f5 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-privileged/tests/runtime_binding.json
@@ -538,5 +538,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-standard/DIGEST b/tasks/roboarc-hedgehog-in-cage-01-i01-standard/DIGEST
index fcb360750f..5b9a3fca3d 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-standard/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:955824a80aabb13f60e1c854c3d6574303c8e1bde6d8d1d3de476c4612556caf
+sha256:7dee53160194497dd97064bfa6e4b5ec371d29fc504ce92a25ea29f0b7e5e526
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-01-i01-standard/environment/sim/runtime_binding.json
index c723d4a354..ab88baa2f5 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-standard/environment/sim/runtime_binding.json
@@ -538,5 +538,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-01-i01-standard/tests/runtime_binding.json
index c723d4a354..ab88baa2f5 100644
--- a/tasks/roboarc-hedgehog-in-cage-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-01-i01-standard/tests/runtime_binding.json
@@ -538,5 +538,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/DIGEST b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/DIGEST
index 63db0fda5f..73b309837b 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:f993537ba89b4c91d1c3a5c8a41d6c9ba9ee00b1a40fa3485f77bec364b40d02
+sha256:9922d5abe03c66bdba105e25a19d4fcbe79018f6d98ec6c18cbded36d46d40fa
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/environment/runtime_binding.json
index cc2ee96b1c..b4bc356109 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/environment/runtime_binding.json
@@ -578,5 +578,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/tests/runtime_binding.json
index cc2ee96b1c..b4bc356109 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-privileged/tests/runtime_binding.json
@@ -578,5 +578,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-standard/DIGEST b/tasks/roboarc-hedgehog-in-cage-02-i01-standard/DIGEST
index 42ed12925c..7c74768385 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-standard/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:87147236605ea0542b9976ddc874b1098313ec3dfe5af42f52b9ba1cab629703
+sha256:b3ae676e48e2c62688dcdc8eaf1c38885467578c516e8782d6bc2014f9d929e1
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-02-i01-standard/environment/sim/runtime_binding.json
index cc2ee96b1c..b4bc356109 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-standard/environment/sim/runtime_binding.json
@@ -578,5 +578,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-02-i01-standard/tests/runtime_binding.json
index cc2ee96b1c..b4bc356109 100644
--- a/tasks/roboarc-hedgehog-in-cage-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-02-i01-standard/tests/runtime_binding.json
@@ -578,5 +578,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/DIGEST b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/DIGEST
index d601130728..51fb275c16 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:bbc43d9c4d7727248a2967275fd88e977623881d7ac033b205df6051d8591267
+sha256:e527066d6dc621df2286f22fe7ec33ee4d97b6931115d4043fa2a0bb129d6ee7
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/environment/runtime_binding.json
index 9f12a3ad3f..08f0d99422 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/environment/runtime_binding.json
@@ -644,5 +644,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/tests/runtime_binding.json
index 9f12a3ad3f..08f0d99422 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-privileged/tests/runtime_binding.json
@@ -644,5 +644,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-standard/DIGEST b/tasks/roboarc-hedgehog-in-cage-03-i01-standard/DIGEST
index d46fe6393a..0870d8d514 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-standard/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:51b29571a4772ded86095e7c7267f58999121279eb16e60065827490c13ec05e
+sha256:1281a4406b9dfca4dc39f36059ac256314bf36032e98cff872f4ca3384b585be
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-03-i01-standard/environment/sim/runtime_binding.json
index 9f12a3ad3f..08f0d99422 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-standard/environment/sim/runtime_binding.json
@@ -644,5 +644,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-03-i01-standard/tests/runtime_binding.json
index 9f12a3ad3f..08f0d99422 100644
--- a/tasks/roboarc-hedgehog-in-cage-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-03-i01-standard/tests/runtime_binding.json
@@ -644,5 +644,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/DIGEST b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/DIGEST
index efad76f62b..eb82175974 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:8ef3bd72a04817dfa8965a55622eca8ad640706e3360942947bccafa208ae9c7
+sha256:ee23b7d43d1a1bf0b8bcc0bb127f8efb6d881c961ac3fb2d024b35332a5c1034
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/environment/runtime_binding.json
index 0e721d0692..31a8c359bf 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/environment/runtime_binding.json
@@ -476,5 +476,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/tests/runtime_binding.json
index 0e721d0692..31a8c359bf 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-privileged/tests/runtime_binding.json
@@ -476,5 +476,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-standard/DIGEST b/tasks/roboarc-hedgehog-in-cage-04-i01-standard/DIGEST
index 0dfbc52e0a..a14265b549 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-standard/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:5f4859c279a6fbf1dec9ad0de5a32845699bfab195095e6beeb8eb7cf61d5c1d
+sha256:3a12dcf67aacb5ddd72552295b10a31a5ee93dbcbe6c4248e36b04e1b032cb8a
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-04-i01-standard/environment/sim/runtime_binding.json
index 0e721d0692..31a8c359bf 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-standard/environment/sim/runtime_binding.json
@@ -476,5 +476,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-04-i01-standard/tests/runtime_binding.json
index 0e721d0692..31a8c359bf 100644
--- a/tasks/roboarc-hedgehog-in-cage-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-04-i01-standard/tests/runtime_binding.json
@@ -476,5 +476,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/DIGEST b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/DIGEST
index cea3e39a2a..814695246d 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:4dfd948e1ec22881365f280e7bd810cc43844109c65fc2375dc6df74d559359f
+sha256:d0aad16d7733a9d83b2ecfdb489a651d3abd5f679633e3cabbf29a5728a90e0e
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/environment/runtime_binding.json
index 6f0d6fee40..7686b3f845 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/environment/runtime_binding.json
@@ -475,5 +475,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/tests/runtime_binding.json
index 6f0d6fee40..7686b3f845 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-privileged/tests/runtime_binding.json
@@ -475,5 +475,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-standard/DIGEST b/tasks/roboarc-hedgehog-in-cage-05-i01-standard/DIGEST
index d60c8ef85e..be6d65bf94 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-standard/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:b31ed60188ed2987b3a4aba18ade5dff5e91139e0a9af4cfe5fcd917f9ae155e
+sha256:88c036eca81fc865015093e538aecef1d884b74d08c8ab5ed855690498453682
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-05-i01-standard/environment/sim/runtime_binding.json
index 6f0d6fee40..7686b3f845 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-standard/environment/sim/runtime_binding.json
@@ -475,5 +475,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-05-i01-standard/tests/runtime_binding.json
index 6f0d6fee40..7686b3f845 100644
--- a/tasks/roboarc-hedgehog-in-cage-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-05-i01-standard/tests/runtime_binding.json
@@ -475,5 +475,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/DIGEST b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/DIGEST
index 89b23acfb0..e3fd24b305 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:bedc5854952af5e1dacf94698d789d738158b7317c031c8d154529e45dd4acc4
+sha256:0f74b2e896039fcdd24313c0a154370223edc4312ab62e50c8bf9e60bd7ea501
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/environment/runtime_binding.json
index 4868f56bde..f080e60d1c 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/environment/runtime_binding.json
@@ -308,5 +308,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/tests/runtime_binding.json
index 4868f56bde..f080e60d1c 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-privileged/tests/runtime_binding.json
@@ -308,5 +308,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-standard/DIGEST b/tasks/roboarc-hedgehog-in-cage-06-i01-standard/DIGEST
index 883711fa5e..e070ce4351 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-standard/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:4a8633d6f024ac3ef2b0d1b4d0cd89c4a251a99f4e84c550d95fda2a4e6038a3
+sha256:def53127e4e6fc1c35b697e80af5b6e990cb646575be0e6343e25816a124e2ff
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-06-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-06-i01-standard/environment/sim/runtime_binding.json
index 4868f56bde..f080e60d1c 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-standard/environment/sim/runtime_binding.json
@@ -308,5 +308,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-06-i01-standard/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-06-i01-standard/tests/runtime_binding.json
index 4868f56bde..f080e60d1c 100644
--- a/tasks/roboarc-hedgehog-in-cage-06-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-06-i01-standard/tests/runtime_binding.json
@@ -308,5 +308,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/DIGEST b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/DIGEST
index 3c430f2058..c883e81ca0 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:05ba7d11fb063a430cbc0b5c1e569deba8d626e14379800b66d7b030b874b9c6
+sha256:8910ccffc10bd5bd27d448f8e12c126b2877b6a1d152ad1dacb7ffe1491fa5c2
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/environment/runtime_binding.json
index ee5cf38a89..c5c2abd651 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/environment/runtime_binding.json
@@ -107,5 +107,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/tests/runtime_binding.json
index ee5cf38a89..c5c2abd651 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-privileged/tests/runtime_binding.json
@@ -107,5 +107,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-standard/DIGEST b/tasks/roboarc-hedgehog-in-cage-07-i01-standard/DIGEST
index b32ea91911..b6b18abdde 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-standard/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:2ca5859d065af8da91a9fca927ba6fb72a482341c8745a97ea434ad37af9068a
+sha256:ef1d49e93921390779e49df676e835602f77402b425df0c30f6aa8a2a68f29d2
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-07-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-07-i01-standard/environment/sim/runtime_binding.json
index ee5cf38a89..c5c2abd651 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-standard/environment/sim/runtime_binding.json
@@ -107,5 +107,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-07-i01-standard/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-07-i01-standard/tests/runtime_binding.json
index ee5cf38a89..c5c2abd651 100644
--- a/tasks/roboarc-hedgehog-in-cage-07-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-07-i01-standard/tests/runtime_binding.json
@@ -107,5 +107,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/DIGEST b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/DIGEST
index 80cae51408..8a0590de8a 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:5a3b2af9caf2758c4274a133531c02534e96cf8e7a7edad8f34aca1dac7bd4b5
+sha256:665bf6923e568ca8b63909e760ec43ba1d989d728bfa0718a9d7d53a5c5b3e84
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/environment/runtime_binding.json
index 45354e2f0f..abdfd0d315 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/environment/runtime_binding.json
@@ -636,5 +636,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/tests/runtime_binding.json
index 45354e2f0f..abdfd0d315 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-privileged/tests/runtime_binding.json
@@ -636,5 +636,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-standard/DIGEST b/tasks/roboarc-hedgehog-in-cage-08-i01-standard/DIGEST
index 95fa147944..a5ec7e3c92 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-standard/DIGEST
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:6b00c4700b0d3180d774dc333e475f4f1838e2f5d0c5f79df3a77d65b2e298cb
+sha256:e4a6e7537681127c0d1e79c74b0083fd9bbe9f9c7b4316ef9e5805e438987228
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-hedgehog-in-cage-08-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-08-i01-standard/environment/sim/runtime_binding.json
index 45354e2f0f..abdfd0d315 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-standard/environment/sim/runtime_binding.json
@@ -636,5 +636,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-hedgehog-in-cage-08-i01-standard/tests/runtime_binding.json b/tasks/roboarc-hedgehog-in-cage-08-i01-standard/tests/runtime_binding.json
index 45354e2f0f..abdfd0d315 100644
--- a/tasks/roboarc-hedgehog-in-cage-08-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-hedgehog-in-cage-08-i01-standard/tests/runtime_binding.json
@@ -636,5 +636,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-privileged/DIGEST b/tasks/roboarc-horseshoe-ring-01-i01-privileged/DIGEST
index aef27577a9..073e4292f4 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:a069e42f4eba78f3d54253b8e8fdc3b913f672f93d00f48c42c88d987c6326fc
+sha256:8815d80eb4bc7d14e0f6480a81c15815e154f32b14eb23d9b669c87827955abd
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-horseshoe-ring-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-horseshoe-ring-01-i01-privileged/environment/runtime_binding.json
index e58e277000..b4670682f6 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-01-i01-privileged/environment/runtime_binding.json
@@ -186,5 +186,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-horseshoe-ring-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-01-i01-privileged/tests/runtime_binding.json
index e58e277000..b4670682f6 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-01-i01-privileged/tests/runtime_binding.json
@@ -186,5 +186,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-standard/DIGEST b/tasks/roboarc-horseshoe-ring-01-i01-standard/DIGEST
index ea23e49b5c..785e85ee7e 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-standard/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:2df4b2e4545f4b2f349aeeccd0dfa7696eb53c1f29824ab42f5e415ef65fadb9
+sha256:175d4224f4b917ebf1b26eba20897f42dad116b8a8b378cb690ef9c4aac6bd57
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-horseshoe-ring-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-horseshoe-ring-01-i01-standard/environment/sim/runtime_binding.json
index e58e277000..b4670682f6 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-01-i01-standard/environment/sim/runtime_binding.json
@@ -186,5 +186,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-01-i01-standard/tests/runtime_binding.json
index e58e277000..b4670682f6 100644
--- a/tasks/roboarc-horseshoe-ring-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-01-i01-standard/tests/runtime_binding.json
@@ -186,5 +186,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-privileged/DIGEST b/tasks/roboarc-horseshoe-ring-02-i01-privileged/DIGEST
index 674018ca53..2a8a599958 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:8dca2cdce4900c2f30fcd39d75918a4685e70c76f44201894a9a2251474a17d8
+sha256:1f2dc555fb974c338eca7c592d2a0252dcd91e166108d83c7bd891f422e645ba
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-horseshoe-ring-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-horseshoe-ring-02-i01-privileged/environment/runtime_binding.json
index 69a73a33ef..595bf24322 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-02-i01-privileged/environment/runtime_binding.json
@@ -208,5 +208,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-horseshoe-ring-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-02-i01-privileged/tests/runtime_binding.json
index 69a73a33ef..595bf24322 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-02-i01-privileged/tests/runtime_binding.json
@@ -208,5 +208,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-standard/DIGEST b/tasks/roboarc-horseshoe-ring-02-i01-standard/DIGEST
index d2e7c65c37..0edd94e2c7 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-standard/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:4d16d64294499b21f629b383b55b80c6e11bdc1a425c549fb82ad09770abf8bc
+sha256:9e0f4a78088207c79aa4bce53cef7985f6daa35b5c0afccf45fcb324506db2ce
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-horseshoe-ring-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-horseshoe-ring-02-i01-standard/environment/sim/runtime_binding.json
index 69a73a33ef..595bf24322 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-02-i01-standard/environment/sim/runtime_binding.json
@@ -208,5 +208,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-02-i01-standard/tests/runtime_binding.json
index 69a73a33ef..595bf24322 100644
--- a/tasks/roboarc-horseshoe-ring-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-02-i01-standard/tests/runtime_binding.json
@@ -208,5 +208,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-privileged/DIGEST b/tasks/roboarc-horseshoe-ring-03-i01-privileged/DIGEST
index ee463134ed..7a49464807 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:f3f944a2e1693ca98173143f7932b00c44ac37577361e221f039f7b9bc3446d5
+sha256:4e22e06a323ad0949f1231cd7f00a78ba080ad3c81fcff1458168cae22f22aac
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-horseshoe-ring-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-horseshoe-ring-03-i01-privileged/environment/runtime_binding.json
index 2ea734c5c5..5a71cd1b08 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-03-i01-privileged/environment/runtime_binding.json
@@ -210,5 +210,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-horseshoe-ring-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-03-i01-privileged/tests/runtime_binding.json
index 2ea734c5c5..5a71cd1b08 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-03-i01-privileged/tests/runtime_binding.json
@@ -210,5 +210,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-standard/DIGEST b/tasks/roboarc-horseshoe-ring-03-i01-standard/DIGEST
index 7040ad8a52..c12c797c68 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-standard/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:8e5de971ed1a86e3d16dd4def15e99a140af3659c9a23495b4e6473a5fea958e
+sha256:cbec0dda465ea528fc4c91c9b5ff7a6b3783e3ac186f3f3da6b7d4d312cb8664
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-horseshoe-ring-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-horseshoe-ring-03-i01-standard/environment/sim/runtime_binding.json
index 2ea734c5c5..5a71cd1b08 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-03-i01-standard/environment/sim/runtime_binding.json
@@ -210,5 +210,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-03-i01-standard/tests/runtime_binding.json
index 2ea734c5c5..5a71cd1b08 100644
--- a/tasks/roboarc-horseshoe-ring-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-03-i01-standard/tests/runtime_binding.json
@@ -210,5 +210,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-privileged/DIGEST b/tasks/roboarc-horseshoe-ring-04-i01-privileged/DIGEST
index e687a592ba..97cf2f3b33 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:7eb5867bea5ef46dee9a14131f7627d08d391c8e7797131a94d4d656118cabf0
+sha256:81efc109f68f1eaf6b6713171713d00df8bb7d463d91f5aa6dcea4244e73452d
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-horseshoe-ring-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-horseshoe-ring-04-i01-privileged/environment/runtime_binding.json
index fe4f1266c7..22c31c918a 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-04-i01-privileged/environment/runtime_binding.json
@@ -208,5 +208,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-horseshoe-ring-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-04-i01-privileged/tests/runtime_binding.json
index fe4f1266c7..22c31c918a 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-04-i01-privileged/tests/runtime_binding.json
@@ -208,5 +208,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-standard/DIGEST b/tasks/roboarc-horseshoe-ring-04-i01-standard/DIGEST
index addbc7a077..df53223bd5 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-standard/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:848961fe2a73157e139db5e1b3aa7a8b8c92b4e168b88515e4ae37bdabcf83d6
+sha256:b8f5aae71293e391a2558ecafd2e0fa674a327e3514eb49420094741c4ba2bbe
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-horseshoe-ring-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-horseshoe-ring-04-i01-standard/environment/sim/runtime_binding.json
index fe4f1266c7..22c31c918a 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-04-i01-standard/environment/sim/runtime_binding.json
@@ -208,5 +208,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-04-i01-standard/tests/runtime_binding.json
index fe4f1266c7..22c31c918a 100644
--- a/tasks/roboarc-horseshoe-ring-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-04-i01-standard/tests/runtime_binding.json
@@ -208,5 +208,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-privileged/DIGEST b/tasks/roboarc-horseshoe-ring-05-i01-privileged/DIGEST
index 7c031ae550..93dcf1cf85 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:c0466b4939e615a2169b38c2f74ca2292e1b191d15f4f41b8204ac549c662741
+sha256:406f58a2184dcdc7134e6f0d5d4b9cc814c49dd1c055239034a0df421e59114e
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-horseshoe-ring-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-horseshoe-ring-05-i01-privileged/environment/runtime_binding.json
index ac50eb8a74..5fe6c151a6 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-05-i01-privileged/environment/runtime_binding.json
@@ -180,5 +180,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-horseshoe-ring-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-05-i01-privileged/tests/runtime_binding.json
index ac50eb8a74..5fe6c151a6 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-05-i01-privileged/tests/runtime_binding.json
@@ -180,5 +180,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-standard/DIGEST b/tasks/roboarc-horseshoe-ring-05-i01-standard/DIGEST
index 8a1353d014..de01094234 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-standard/DIGEST
+++ b/tasks/roboarc-horseshoe-ring-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:7d27db5c047c25be586454b152a11db5e79d7ae309615b90db29dc465cc0dd13
+sha256:4bb7673d055d0dc9a89c6ed148895db415dbf6d6a97e17b24eb5dcc2954eb221
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-horseshoe-ring-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-horseshoe-ring-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-horseshoe-ring-05-i01-standard/environment/sim/runtime_binding.json
index ac50eb8a74..5fe6c151a6 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-05-i01-standard/environment/sim/runtime_binding.json
@@ -180,5 +180,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-horseshoe-ring-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-horseshoe-ring-05-i01-standard/tests/runtime_binding.json
index ac50eb8a74..5fe6c151a6 100644
--- a/tasks/roboarc-horseshoe-ring-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-horseshoe-ring-05-i01-standard/tests/runtime_binding.json
@@ -180,5 +180,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-01-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-01-i01-privileged/DIGEST
index 72c28b9f86..4fca482741 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:5d9c08640dcff4d4da38fd80b8bc77fc8ac17599a769fc1df91d6ff10749093b
+sha256:3493c53b39fffc9cd247cce8ffa5139dd18499b91551e73a2ff2645ee1de573a
diff --git a/tasks/roboarc-interlocked-claws-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-01-i01-privileged/environment/runtime_binding.json
index f3bd28e2a4..f4a5e0f4d0 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-01-i01-privileged/environment/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-01-i01-privileged/tests/runtime_binding.json
index f3bd28e2a4..f4a5e0f4d0 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-01-i01-privileged/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-01-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-01-i01-standard/DIGEST
index c86f91ed40..e635df081f 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:521c2c6ffa6462b04b90b7dbc3a415c8f0ec94b2575b9c17956037a91e7ebf47
+sha256:145847daa5563c5e9c98cde3e5c29198a245e058cb482c9239b84e49f4cba701
diff --git a/tasks/roboarc-interlocked-claws-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-01-i01-standard/environment/sim/runtime_binding.json
index f3bd28e2a4..f4a5e0f4d0 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-01-i01-standard/environment/sim/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-01-i01-standard/tests/runtime_binding.json
index f3bd28e2a4..f4a5e0f4d0 100644
--- a/tasks/roboarc-interlocked-claws-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-01-i01-standard/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-02-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-02-i01-privileged/DIGEST
index 4826d2066d..c4a4e1e4e3 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:06e60b6299f289dfebb1dacd72c24a8cd1b3bf74e124c4c513723dd97d9dc0da
+sha256:12ceadf091495af26aab377ba16ec5852a9e5646c71acbb4993f77e6e1be6a29
diff --git a/tasks/roboarc-interlocked-claws-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-02-i01-privileged/environment/runtime_binding.json
index 2713b9a3df..b86aa4a5ea 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-02-i01-privileged/environment/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-02-i01-privileged/tests/runtime_binding.json
index 2713b9a3df..b86aa4a5ea 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-02-i01-privileged/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-02-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-02-i01-standard/DIGEST
index b9481d8f4b..3784be0c62 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:4b9e129c2010b2a1d0c1aa10662d2fc87c4561369c13156ffe2e31af980138e6
+sha256:77dd90f53af00673d051ee17cdb366b0e5c6a62644bafdfa02fd4d17fab76579
diff --git a/tasks/roboarc-interlocked-claws-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-02-i01-standard/environment/sim/runtime_binding.json
index 2713b9a3df..b86aa4a5ea 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-02-i01-standard/environment/sim/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-02-i01-standard/tests/runtime_binding.json
index 2713b9a3df..b86aa4a5ea 100644
--- a/tasks/roboarc-interlocked-claws-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-02-i01-standard/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-03-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-03-i01-privileged/DIGEST
index e9d6a000bf..3f713c4c42 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:cec4327c1e9022ad7232af29bf686bd68a0538435a0e3f61e413c7769222c134
+sha256:14cf28603ca4ed5c7b135cb3b2bb2a9cc26cc6dbc4a2edd70a0fc3752c3adaae
diff --git a/tasks/roboarc-interlocked-claws-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-03-i01-privileged/environment/runtime_binding.json
index 3a68ea69c6..1050cea148 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-03-i01-privileged/environment/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-03-i01-privileged/tests/runtime_binding.json
index 3a68ea69c6..1050cea148 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-03-i01-privileged/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-03-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-03-i01-standard/DIGEST
index 287a28badb..2cff6d1b25 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:3e7e07e3655136cd553e14fc75f1ea9d64a66099712c376505fdf075e782ec33
+sha256:42c6ef266d5684d19af04ae0e46359c4d5093c4b049411035746eeedbffa7b98
diff --git a/tasks/roboarc-interlocked-claws-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-03-i01-standard/environment/sim/runtime_binding.json
index 3a68ea69c6..1050cea148 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-03-i01-standard/environment/sim/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-03-i01-standard/tests/runtime_binding.json
index 3a68ea69c6..1050cea148 100644
--- a/tasks/roboarc-interlocked-claws-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-03-i01-standard/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-04-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-04-i01-privileged/DIGEST
index 9b226c5ba2..8aff4e480f 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:9babaad9b21c5eed2064cc7a0dc5e3c30f40a2236c3fc53f240d8a27ef7c3907
+sha256:b1a9a7452d006f86f6c303ebb6d641e105b51910d721d4aa822ed4b7645880e0
diff --git a/tasks/roboarc-interlocked-claws-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-04-i01-privileged/environment/runtime_binding.json
index f79dc13ad9..4fa7c3153c 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-04-i01-privileged/environment/runtime_binding.json
@@ -48,5 +48,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-04-i01-privileged/tests/runtime_binding.json
index f79dc13ad9..4fa7c3153c 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-04-i01-privileged/tests/runtime_binding.json
@@ -48,5 +48,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-04-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-04-i01-standard/DIGEST
index 04b5fa9097..5636729fa9 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:1ce28b8ef4b53ccc574d8cfad241831bb6b51b8e16240c0779eec45566b09258
+sha256:e64e22382fed5cdbda392acac78ecdd1df00f72aece6b45eb727abae8b87a40f
diff --git a/tasks/roboarc-interlocked-claws-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-04-i01-standard/environment/sim/runtime_binding.json
index f79dc13ad9..4fa7c3153c 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-04-i01-standard/environment/sim/runtime_binding.json
@@ -48,5 +48,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-04-i01-standard/tests/runtime_binding.json
index f79dc13ad9..4fa7c3153c 100644
--- a/tasks/roboarc-interlocked-claws-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-04-i01-standard/tests/runtime_binding.json
@@ -48,5 +48,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-05-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-05-i01-privileged/DIGEST
index 5fb22200ce..5c72b712a5 100644
--- a/tasks/roboarc-interlocked-claws-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:881d585cee31b43530e035620381e4df60e470ae770e76c0b0e50b6f96e4597b
+sha256:35326cb1182544fe589c0ecce3cc8d2bbd79bee6e2226521b496549af9a9f8fd
diff --git a/tasks/roboarc-interlocked-claws-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-05-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-05-i01-standard/DIGEST
index 3c23eb7dd4..a1470d8402 100644
--- a/tasks/roboarc-interlocked-claws-05-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:3ac4c18412532016be41998ac5ee6229e6c4a3363e132a07714b17c2bddf2a8a
+sha256:74a93b5315485a774f44ba38e7df57c85b959f817cb75dfe9df670eb8b3f8487
diff --git a/tasks/roboarc-interlocked-claws-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-06-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-06-i01-privileged/DIGEST
index 7e82942cc3..f4378161b1 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-06-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:b23082b382bbfa8f221a6421fdc3d94d9f58144cb58ad8ba1eee83d97063b3fc
+sha256:e00aa970fe7675a2812d89bca4ef24ed7eaf1ad2722e4ea6c996689d29ee94fa
diff --git a/tasks/roboarc-interlocked-claws-06-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-06-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-06-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-06-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-06-i01-privileged/environment/runtime_binding.json
index a4b16737d5..a42d9e66a9 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-06-i01-privileged/environment/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-06-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-06-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-06-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-06-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-06-i01-privileged/tests/runtime_binding.json
index a4b16737d5..a42d9e66a9 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-06-i01-privileged/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-06-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-06-i01-standard/DIGEST
index e63927e6a1..02ba111b53 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-06-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:6b7be4c5d95d764f1645de7e8f06a6855d00869f4b8b13718f8313e94e1327d2
+sha256:b4b40e2fc732d20ed834d21d666b9557ee3707c34280ca540d339b3fda105712
diff --git a/tasks/roboarc-interlocked-claws-06-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-06-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-06-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-06-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-06-i01-standard/environment/sim/runtime_binding.json
index a4b16737d5..a42d9e66a9 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-06-i01-standard/environment/sim/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-06-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-06-i01-standard/tests/runtime_binding.json
index a4b16737d5..a42d9e66a9 100644
--- a/tasks/roboarc-interlocked-claws-06-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-06-i01-standard/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-07-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-07-i01-privileged/DIGEST
index ac3a0c431a..19694dc603 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-07-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:a8a1c359a3e10dc3a3065993a553940db99c8cde0d550ea3ecdb3a7111bd8a6d
+sha256:130f548c19273c7bb6b8dad9fa4e09e86bbad45454daadde3bdf32fdcd3939dc
diff --git a/tasks/roboarc-interlocked-claws-07-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-07-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-07-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-07-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-07-i01-privileged/environment/runtime_binding.json
index 6b3af8f39b..d6916e3b20 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-07-i01-privileged/environment/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-07-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-07-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-07-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-07-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-07-i01-privileged/tests/runtime_binding.json
index 6b3af8f39b..d6916e3b20 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-07-i01-privileged/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-07-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-07-i01-standard/DIGEST
index 3624f6ed5a..8fb42558b9 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-07-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:4676a076290ca3ab792827d6bc0de34dd678473fbc8b83399058a3902a65430a
+sha256:af769c765515b5fea9865c44aaba1c9f6250f8bcba2480c792b908d658d424a7
diff --git a/tasks/roboarc-interlocked-claws-07-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-07-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-07-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-07-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-07-i01-standard/environment/sim/runtime_binding.json
index 6b3af8f39b..d6916e3b20 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-07-i01-standard/environment/sim/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-07-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-07-i01-standard/tests/runtime_binding.json
index 6b3af8f39b..d6916e3b20 100644
--- a/tasks/roboarc-interlocked-claws-07-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-07-i01-standard/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-08-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-08-i01-privileged/DIGEST
index b15840d6d7..0e03e1ffba 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-08-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:634a80f0306665403068a4bb848d7bb84329271f92690ee9c66d97a4ccaa0f00
+sha256:a66ff0d8080f7d15658031cf54cfcf16151203360c0e47871e590505d84521e8
diff --git a/tasks/roboarc-interlocked-claws-08-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-08-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-08-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-08-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-08-i01-privileged/environment/runtime_binding.json
index 1b85ac43f9..a9d80f3ee0 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-08-i01-privileged/environment/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-08-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-08-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-08-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-08-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-08-i01-privileged/tests/runtime_binding.json
index 1b85ac43f9..a9d80f3ee0 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-08-i01-privileged/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-08-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-08-i01-standard/DIGEST
index b1a177d27c..75e5d8da46 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-08-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:c09cc1ca334118015b009e6c10648b89d0575e01693d421b98b5b539ca2fa377
+sha256:46098b72d572cada78007df8161ed15b7cac73a088086a2de81a115acfa47a03
diff --git a/tasks/roboarc-interlocked-claws-08-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-08-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-08-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-08-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-08-i01-standard/environment/sim/runtime_binding.json
index 1b85ac43f9..a9d80f3ee0 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-08-i01-standard/environment/sim/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-08-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-08-i01-standard/tests/runtime_binding.json
index 1b85ac43f9..a9d80f3ee0 100644
--- a/tasks/roboarc-interlocked-claws-08-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-08-i01-standard/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-09-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-09-i01-privileged/DIGEST
index 8655d5fb17..c09f9fdc02 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-09-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:a2a82acaffa6fdfc19ba4fe008308296a656b36b18357ba9b3c14cba32619d1b
+sha256:66470b04d58397a5662138749752cda4b0fe2cca39577c3001a67e4ca4506295
diff --git a/tasks/roboarc-interlocked-claws-09-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-09-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-09-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-09-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-09-i01-privileged/environment/runtime_binding.json
index 1bfdf8388e..0235cb8187 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-09-i01-privileged/environment/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-09-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-09-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-09-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-09-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-09-i01-privileged/tests/runtime_binding.json
index 1bfdf8388e..0235cb8187 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-09-i01-privileged/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-09-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-09-i01-standard/DIGEST
index 124747d1c1..a5ec2bd5c4 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-09-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:2549384300c0e7bce79fc5186c29ed532185b03fe58aaddfdf434fc8fd467a16
+sha256:e263632fc30026763428e05cb3f8c595c82ae50b28feebfe2eb89f13d12d9f2d
diff --git a/tasks/roboarc-interlocked-claws-09-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-09-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-09-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-09-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-09-i01-standard/environment/sim/runtime_binding.json
index 1bfdf8388e..0235cb8187 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-09-i01-standard/environment/sim/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-09-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-09-i01-standard/tests/runtime_binding.json
index 1bfdf8388e..0235cb8187 100644
--- a/tasks/roboarc-interlocked-claws-09-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-09-i01-standard/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-10-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-10-i01-privileged/DIGEST
index 3e05cb52d6..ab2049b68d 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-10-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:919fe7d0a29a00a32d8b4d253dd73b41ba40130f5e96a19f512799d740bb1fb6
+sha256:bd2d65c1d73be0dab334ed60463fda9444f3ab73245db08a5c131f213afeb075
diff --git a/tasks/roboarc-interlocked-claws-10-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-10-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-10-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-10-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-10-i01-privileged/environment/runtime_binding.json
index 2161af093e..5dd1272619 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-10-i01-privileged/environment/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-10-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-10-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-10-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-10-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-10-i01-privileged/tests/runtime_binding.json
index 2161af093e..5dd1272619 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-10-i01-privileged/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-10-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-10-i01-standard/DIGEST
index f2d434844e..6318a89768 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-10-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:5b1ff8af7b98979bb46486ba1869f94b83e83b26b4ed6daeb6cd401afe714b3c
+sha256:b19629f15534b2514330740343ce3b87e1581e2fd24078b0c2266f457359083a
diff --git a/tasks/roboarc-interlocked-claws-10-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-10-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-10-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-10-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-10-i01-standard/environment/sim/runtime_binding.json
index 2161af093e..5dd1272619 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-10-i01-standard/environment/sim/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-10-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-10-i01-standard/tests/runtime_binding.json
index 2161af093e..5dd1272619 100644
--- a/tasks/roboarc-interlocked-claws-10-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-10-i01-standard/tests/runtime_binding.json
@@ -39,5 +39,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-11-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-11-i01-privileged/DIGEST
index 69813a8ac9..9d8bf6c788 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-11-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:51329524e7b5f78c2f72ee81ab67006f631f5058f6097f6ed155139d14b2d4f2
+sha256:3665c1bd436eeee77a54cac2aa43fe29094581327ac30b57b6bc8153533e22d3
diff --git a/tasks/roboarc-interlocked-claws-11-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-11-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-11-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-11-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-interlocked-claws-11-i01-privileged/environment/runtime_binding.json
index 2ed18e4257..6bac91b4d1 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-11-i01-privileged/environment/runtime_binding.json
@@ -341,5 +341,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-11-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-11-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-11-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-11-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-11-i01-privileged/tests/runtime_binding.json
index 2ed18e4257..6bac91b4d1 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-11-i01-privileged/tests/runtime_binding.json
@@ -341,5 +341,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-11-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-11-i01-standard/DIGEST
index b25aaeae81..4f5845749f 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-11-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:9da34268ddd964113ff405fefd61e28af6f6ce9ea625bd04b85ce140c892d87a
+sha256:5903386b5ac7f1f4085ca2cf3042d36e19fa923eafe413333ec9355a015df4e1
diff --git a/tasks/roboarc-interlocked-claws-11-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-11-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-11-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-11-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-interlocked-claws-11-i01-standard/environment/sim/runtime_binding.json
index 2ed18e4257..6bac91b4d1 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-11-i01-standard/environment/sim/runtime_binding.json
@@ -341,5 +341,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-11-i01-standard/tests/runtime_binding.json b/tasks/roboarc-interlocked-claws-11-i01-standard/tests/runtime_binding.json
index 2ed18e4257..6bac91b4d1 100644
--- a/tasks/roboarc-interlocked-claws-11-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-interlocked-claws-11-i01-standard/tests/runtime_binding.json
@@ -341,5 +341,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-interlocked-claws-12-i01-privileged/DIGEST b/tasks/roboarc-interlocked-claws-12-i01-privileged/DIGEST
index de6fd64a4b..fbe3a7a91c 100644
--- a/tasks/roboarc-interlocked-claws-12-i01-privileged/DIGEST
+++ b/tasks/roboarc-interlocked-claws-12-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:b0817e52b18baeac51ccce3d6ced998b3baabd7f78a2cd11bc209facbf31d24b
+sha256:71a58bc12be816af90b05f402c208a180f64e6895a6734e102ca9e5f4a673659
diff --git a/tasks/roboarc-interlocked-claws-12-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-interlocked-claws-12-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-12-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-12-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-12-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-interlocked-claws-12-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-12-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-12-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-interlocked-claws-12-i01-standard/DIGEST b/tasks/roboarc-interlocked-claws-12-i01-standard/DIGEST
index bf14309115..b8ba9387e1 100644
--- a/tasks/roboarc-interlocked-claws-12-i01-standard/DIGEST
+++ b/tasks/roboarc-interlocked-claws-12-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:5ea63c1fcba42b2d642bc07a16c17ec357fe0d323f249eae31c82d567de1808b
+sha256:7a46f46ce2bca5ceac9698e33153f16bd5f07338d1a440afc4db150bb695dee4
diff --git a/tasks/roboarc-interlocked-claws-12-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-interlocked-claws-12-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-interlocked-claws-12-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-interlocked-claws-12-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-01-i01-privileged/DIGEST b/tasks/roboarc-knot-untying-01-i01-privileged/DIGEST
index ff0c981256..6a4ade2e03 100644
--- a/tasks/roboarc-knot-untying-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-knot-untying-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:2a63f14acf6f231b697085795490cdcc6f66a621a4b364e444862d93398dd5f0
+sha256:5448b70207321f231a970a70c0503bb16b9c42b2d2176de1312ae711df4f3929
diff --git a/tasks/roboarc-knot-untying-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-knot-untying-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-knot-untying-01-i01-privileged/environment/runtime_binding.json
index 5b057c1104..3b60d00be3 100644
--- a/tasks/roboarc-knot-untying-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-01-i01-privileged/environment/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-knot-untying-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-knot-untying-01-i01-privileged/tests/runtime_binding.json
index 5b057c1104..3b60d00be3 100644
--- a/tasks/roboarc-knot-untying-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-01-i01-privileged/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-01-i01-standard/DIGEST b/tasks/roboarc-knot-untying-01-i01-standard/DIGEST
index 643966899b..85469c80c2 100644
--- a/tasks/roboarc-knot-untying-01-i01-standard/DIGEST
+++ b/tasks/roboarc-knot-untying-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:6e98ed82f52bc2288b0334a3f156d50dc70962d871308f2b3f621a572103f302
+sha256:c999e741b80976c2775eca00fcc3196a12cf9b037145bb6d5f0064d847fda616
diff --git a/tasks/roboarc-knot-untying-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-knot-untying-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-knot-untying-01-i01-standard/environment/sim/runtime_binding.json
index 5b057c1104..3b60d00be3 100644
--- a/tasks/roboarc-knot-untying-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-01-i01-standard/environment/sim/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-knot-untying-01-i01-standard/tests/runtime_binding.json
index 5b057c1104..3b60d00be3 100644
--- a/tasks/roboarc-knot-untying-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-01-i01-standard/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-02-i01-privileged/DIGEST b/tasks/roboarc-knot-untying-02-i01-privileged/DIGEST
index 0ce9b57ee3..71813d619e 100644
--- a/tasks/roboarc-knot-untying-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-knot-untying-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:d54bec281bd6468fb83503e2789d8b414903f9e03523e6c73389ca4335110f55
+sha256:2e89f4bed2f76e6f3345cf0a475eb3f3e621089b258fcdeb276149e53c6499f7
diff --git a/tasks/roboarc-knot-untying-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-knot-untying-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-knot-untying-02-i01-privileged/environment/runtime_binding.json
index 36ce69a88c..f6bcc6f511 100644
--- a/tasks/roboarc-knot-untying-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-02-i01-privileged/environment/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-knot-untying-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-knot-untying-02-i01-privileged/tests/runtime_binding.json
index 36ce69a88c..f6bcc6f511 100644
--- a/tasks/roboarc-knot-untying-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-02-i01-privileged/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-02-i01-standard/DIGEST b/tasks/roboarc-knot-untying-02-i01-standard/DIGEST
index 9e51304e8a..6b8632e083 100644
--- a/tasks/roboarc-knot-untying-02-i01-standard/DIGEST
+++ b/tasks/roboarc-knot-untying-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:2a3fcaed3d747a795fec54104607469eb4b515203e93e9185dc09ad8a65ca102
+sha256:a3979ea0249573af23da5c9b5be36a35e8440b6a91c1c3ad35e7cba8a740dc77
diff --git a/tasks/roboarc-knot-untying-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-knot-untying-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-knot-untying-02-i01-standard/environment/sim/runtime_binding.json
index 36ce69a88c..f6bcc6f511 100644
--- a/tasks/roboarc-knot-untying-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-02-i01-standard/environment/sim/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-knot-untying-02-i01-standard/tests/runtime_binding.json
index 36ce69a88c..f6bcc6f511 100644
--- a/tasks/roboarc-knot-untying-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-02-i01-standard/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-03-i01-privileged/DIGEST b/tasks/roboarc-knot-untying-03-i01-privileged/DIGEST
index ad974eaaa9..8723838e1f 100644
--- a/tasks/roboarc-knot-untying-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-knot-untying-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:51e8a0863e6dd89805649ddc46795edeabd4ad7136096c3bff4f95c4f35eb53f
+sha256:1e83c6c01e561eef050527f515c93eb2266c5d0f29b22a02d45edab9707ba723
diff --git a/tasks/roboarc-knot-untying-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-knot-untying-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-knot-untying-03-i01-privileged/environment/runtime_binding.json
index 5eabb57889..2a07ad10fc 100644
--- a/tasks/roboarc-knot-untying-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-03-i01-privileged/environment/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-knot-untying-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-knot-untying-03-i01-privileged/tests/runtime_binding.json
index 5eabb57889..2a07ad10fc 100644
--- a/tasks/roboarc-knot-untying-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-03-i01-privileged/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-03-i01-standard/DIGEST b/tasks/roboarc-knot-untying-03-i01-standard/DIGEST
index b4ee5e88f2..0c464a29a5 100644
--- a/tasks/roboarc-knot-untying-03-i01-standard/DIGEST
+++ b/tasks/roboarc-knot-untying-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:ddd8ae96f4570bef4b838f80bdb3ce32e35db76e477de6442153332ebceef19d
+sha256:2f54123619534d0584159a77855e1d73a15dde7c8e5c24f5b92e696015a9dd0a
diff --git a/tasks/roboarc-knot-untying-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-knot-untying-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-knot-untying-03-i01-standard/environment/sim/runtime_binding.json
index 5eabb57889..2a07ad10fc 100644
--- a/tasks/roboarc-knot-untying-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-03-i01-standard/environment/sim/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-knot-untying-03-i01-standard/tests/runtime_binding.json
index 5eabb57889..2a07ad10fc 100644
--- a/tasks/roboarc-knot-untying-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-03-i01-standard/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-04-i01-privileged/DIGEST b/tasks/roboarc-knot-untying-04-i01-privileged/DIGEST
index 64ba0c51f4..8970f042e7 100644
--- a/tasks/roboarc-knot-untying-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-knot-untying-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:3b353a89d3c699462e486cb92efd7f1ef620289d73a0568a17b4663ed13d9636
+sha256:105ca3043d3c2011e93c3c50e34dd53841f36239b76e250427734cca58cf15f8
diff --git a/tasks/roboarc-knot-untying-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-knot-untying-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-knot-untying-04-i01-privileged/environment/runtime_binding.json
index dbfcd5cac6..5b89b63c56 100644
--- a/tasks/roboarc-knot-untying-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-04-i01-privileged/environment/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-knot-untying-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-knot-untying-04-i01-privileged/tests/runtime_binding.json
index dbfcd5cac6..5b89b63c56 100644
--- a/tasks/roboarc-knot-untying-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-04-i01-privileged/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-04-i01-standard/DIGEST b/tasks/roboarc-knot-untying-04-i01-standard/DIGEST
index ef22c4b476..086846b0c2 100644
--- a/tasks/roboarc-knot-untying-04-i01-standard/DIGEST
+++ b/tasks/roboarc-knot-untying-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:aeda93b0a93ae5508ec8879142d9f31df1e7304ffffaae614efe0a2e0c95a3c4
+sha256:30b311947565b07050f5a866e455304fbf2b77b3817dfdf0822db525884b5339
diff --git a/tasks/roboarc-knot-untying-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-knot-untying-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-knot-untying-04-i01-standard/environment/sim/runtime_binding.json
index dbfcd5cac6..5b89b63c56 100644
--- a/tasks/roboarc-knot-untying-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-04-i01-standard/environment/sim/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-knot-untying-04-i01-standard/tests/runtime_binding.json
index dbfcd5cac6..5b89b63c56 100644
--- a/tasks/roboarc-knot-untying-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-04-i01-standard/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-05-i01-privileged/DIGEST b/tasks/roboarc-knot-untying-05-i01-privileged/DIGEST
index dcf811768b..96f29f2e35 100644
--- a/tasks/roboarc-knot-untying-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-knot-untying-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:bfa7db16eac4425be0e80b7ee38d8c4d35c79469d33234ef50b33738183e7cb1
+sha256:b0f11cc6333ed4abb1bf89b252fabc0a964cf03492c1a7b124ddf2b8cd98bc65
diff --git a/tasks/roboarc-knot-untying-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-knot-untying-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-knot-untying-05-i01-privileged/environment/runtime_binding.json
index 9b7488c4e3..d76859645b 100644
--- a/tasks/roboarc-knot-untying-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-05-i01-privileged/environment/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-knot-untying-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-knot-untying-05-i01-privileged/tests/runtime_binding.json
index 9b7488c4e3..d76859645b 100644
--- a/tasks/roboarc-knot-untying-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-05-i01-privileged/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-05-i01-standard/DIGEST b/tasks/roboarc-knot-untying-05-i01-standard/DIGEST
index 855b2ee606..40be82dfd4 100644
--- a/tasks/roboarc-knot-untying-05-i01-standard/DIGEST
+++ b/tasks/roboarc-knot-untying-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:aa2331d496d35ad054002d533385ac5aa00981679b61e8a32be467946b8b8c95
+sha256:598028cb043eb4984dc3abb400bf88ae6f823cb7cf3e72ff4c2293d6d1719d30
diff --git a/tasks/roboarc-knot-untying-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-knot-untying-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-knot-untying-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-knot-untying-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-knot-untying-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-knot-untying-05-i01-standard/environment/sim/runtime_binding.json
index 9b7488c4e3..d76859645b 100644
--- a/tasks/roboarc-knot-untying-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-05-i01-standard/environment/sim/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-knot-untying-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-knot-untying-05-i01-standard/tests/runtime_binding.json
index 9b7488c4e3..d76859645b 100644
--- a/tasks/roboarc-knot-untying-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-knot-untying-05-i01-standard/tests/runtime_binding.json
@@ -68,5 +68,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-01-i01-privileged/DIGEST b/tasks/roboarc-lock-picking-01-i01-privileged/DIGEST
index 27839ce3dc..32028f3a94 100644
--- a/tasks/roboarc-lock-picking-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-lock-picking-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:0f1f25f5ce46f4f4e2a27f02d10333ee99a5247d5322e8323220e87b19de58b6
+sha256:59a0cbe09c985a0668282f94d7b3895ba444d1aee44e437a41decc1c82ba5c6f
diff --git a/tasks/roboarc-lock-picking-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-lock-picking-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-lock-picking-01-i01-privileged/environment/runtime_binding.json
index 0e5124e087..7604a87c1c 100644
--- a/tasks/roboarc-lock-picking-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-01-i01-privileged/environment/runtime_binding.json
@@ -539,5 +539,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-lock-picking-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-lock-picking-01-i01-privileged/tests/runtime_binding.json
index 0e5124e087..7604a87c1c 100644
--- a/tasks/roboarc-lock-picking-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-01-i01-privileged/tests/runtime_binding.json
@@ -539,5 +539,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-01-i01-standard/DIGEST b/tasks/roboarc-lock-picking-01-i01-standard/DIGEST
index 7b63f2c891..13fc81fb16 100644
--- a/tasks/roboarc-lock-picking-01-i01-standard/DIGEST
+++ b/tasks/roboarc-lock-picking-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:705201bdce179d0f6c5344b8f4fdb6627d12323ddfbdc58c63a151a5a34ca211
+sha256:b62bac24b919efd9aaeb8c0319e6f1e8d3246c79b8e099ddfa7660450ec80771
diff --git a/tasks/roboarc-lock-picking-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-lock-picking-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-lock-picking-01-i01-standard/environment/sim/runtime_binding.json
index 0e5124e087..7604a87c1c 100644
--- a/tasks/roboarc-lock-picking-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-01-i01-standard/environment/sim/runtime_binding.json
@@ -539,5 +539,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-lock-picking-01-i01-standard/tests/runtime_binding.json
index 0e5124e087..7604a87c1c 100644
--- a/tasks/roboarc-lock-picking-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-01-i01-standard/tests/runtime_binding.json
@@ -539,5 +539,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-02-i01-privileged/DIGEST b/tasks/roboarc-lock-picking-02-i01-privileged/DIGEST
index 0c75d46699..ccc57c60c6 100644
--- a/tasks/roboarc-lock-picking-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-lock-picking-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:24baab35a909cdbc394b8bb93df669e4b18810c53f9d5f16e5d351fa7d0a9d5f
+sha256:fac48e3f5616dac912e8f671ced39a97a7969e5d474c5f947e5fd665653f2d37
diff --git a/tasks/roboarc-lock-picking-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-lock-picking-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-lock-picking-02-i01-privileged/environment/runtime_binding.json
index 977c69ec1a..d1cbbe1113 100644
--- a/tasks/roboarc-lock-picking-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-02-i01-privileged/environment/runtime_binding.json
@@ -599,5 +599,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-lock-picking-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-lock-picking-02-i01-privileged/tests/runtime_binding.json
index 977c69ec1a..d1cbbe1113 100644
--- a/tasks/roboarc-lock-picking-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-02-i01-privileged/tests/runtime_binding.json
@@ -599,5 +599,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-02-i01-standard/DIGEST b/tasks/roboarc-lock-picking-02-i01-standard/DIGEST
index 959c7ff1d3..e58b4d160c 100644
--- a/tasks/roboarc-lock-picking-02-i01-standard/DIGEST
+++ b/tasks/roboarc-lock-picking-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:4afa4217a01a60e4882180566b5c78ef3e3aa64505e2bd37c9e2f5421d012251
+sha256:87a7f8ab355927ec8383fd35708db0b5516d1557f8bef24d01415cba279e79ae
diff --git a/tasks/roboarc-lock-picking-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-lock-picking-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-lock-picking-02-i01-standard/environment/sim/runtime_binding.json
index 977c69ec1a..d1cbbe1113 100644
--- a/tasks/roboarc-lock-picking-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-02-i01-standard/environment/sim/runtime_binding.json
@@ -599,5 +599,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-lock-picking-02-i01-standard/tests/runtime_binding.json
index 977c69ec1a..d1cbbe1113 100644
--- a/tasks/roboarc-lock-picking-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-02-i01-standard/tests/runtime_binding.json
@@ -599,5 +599,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-03-i01-privileged/DIGEST b/tasks/roboarc-lock-picking-03-i01-privileged/DIGEST
index 7768ec363c..d598857302 100644
--- a/tasks/roboarc-lock-picking-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-lock-picking-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:81ba447c9774d92d3f81899a041831da3c8ed8e74275dc76a7f2edfe07ce5b95
+sha256:8a8d50b8357e081fa66223d0589588000ed04e3d7b9e18e1af12523bdd20cd70
diff --git a/tasks/roboarc-lock-picking-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-lock-picking-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-lock-picking-03-i01-privileged/environment/runtime_binding.json
index f1a338731f..b503cdbf39 100644
--- a/tasks/roboarc-lock-picking-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-03-i01-privileged/environment/runtime_binding.json
@@ -666,5 +666,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-lock-picking-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-lock-picking-03-i01-privileged/tests/runtime_binding.json
index f1a338731f..b503cdbf39 100644
--- a/tasks/roboarc-lock-picking-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-03-i01-privileged/tests/runtime_binding.json
@@ -666,5 +666,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-03-i01-standard/DIGEST b/tasks/roboarc-lock-picking-03-i01-standard/DIGEST
index 8f67cc8279..6cb2b0c954 100644
--- a/tasks/roboarc-lock-picking-03-i01-standard/DIGEST
+++ b/tasks/roboarc-lock-picking-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:98cb9b2f9784102ee737a99fad9313b49694f502a330bed5c93ce58b71ea92b2
+sha256:a1d522ccf16444f93121a094c0441645e24664d033748265ded9b49f044c3e73
diff --git a/tasks/roboarc-lock-picking-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-lock-picking-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-lock-picking-03-i01-standard/environment/sim/runtime_binding.json
index f1a338731f..b503cdbf39 100644
--- a/tasks/roboarc-lock-picking-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-03-i01-standard/environment/sim/runtime_binding.json
@@ -666,5 +666,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-lock-picking-03-i01-standard/tests/runtime_binding.json
index f1a338731f..b503cdbf39 100644
--- a/tasks/roboarc-lock-picking-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-03-i01-standard/tests/runtime_binding.json
@@ -666,5 +666,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-04-i01-privileged/DIGEST b/tasks/roboarc-lock-picking-04-i01-privileged/DIGEST
index 21a4631c30..dfb6b3c922 100644
--- a/tasks/roboarc-lock-picking-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-lock-picking-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:1614b456acd5fcac7dfa49b781f06e7cb6439bf2b5e7cb80eb5c6c44705aae70
+sha256:47d5bfe349e319448b3452906cd50d8c315d7671d15ec3f6ca66883ae03c9b25
diff --git a/tasks/roboarc-lock-picking-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-lock-picking-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-lock-picking-04-i01-privileged/environment/runtime_binding.json
index a94d02820c..9b7919653b 100644
--- a/tasks/roboarc-lock-picking-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-04-i01-privileged/environment/runtime_binding.json
@@ -658,5 +658,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-lock-picking-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-lock-picking-04-i01-privileged/tests/runtime_binding.json
index a94d02820c..9b7919653b 100644
--- a/tasks/roboarc-lock-picking-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-04-i01-privileged/tests/runtime_binding.json
@@ -658,5 +658,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-04-i01-standard/DIGEST b/tasks/roboarc-lock-picking-04-i01-standard/DIGEST
index 2285bf2276..9d7f68dd07 100644
--- a/tasks/roboarc-lock-picking-04-i01-standard/DIGEST
+++ b/tasks/roboarc-lock-picking-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:364479a9335827a22b5495cfd67b4f57df75d33065f0986f6a6693b5454b7a47
+sha256:984d1d5d2bf6fb342f10bf20e3371631870d0f222813497737fbc8491e160dc4
diff --git a/tasks/roboarc-lock-picking-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-lock-picking-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-lock-picking-04-i01-standard/environment/sim/runtime_binding.json
index a94d02820c..9b7919653b 100644
--- a/tasks/roboarc-lock-picking-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-04-i01-standard/environment/sim/runtime_binding.json
@@ -658,5 +658,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-lock-picking-04-i01-standard/tests/runtime_binding.json
index a94d02820c..9b7919653b 100644
--- a/tasks/roboarc-lock-picking-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-04-i01-standard/tests/runtime_binding.json
@@ -658,5 +658,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-05-i01-privileged/DIGEST b/tasks/roboarc-lock-picking-05-i01-privileged/DIGEST
index aee1a7a44e..c5d0e62b61 100644
--- a/tasks/roboarc-lock-picking-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-lock-picking-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:137010626a21b2f4a6829ed49c84b15f7223e83d52abd525a46377b977664855
+sha256:1502f9a4142f8d5304ebf196413559b8db43a67a5480b9f1adf8fa8ac6fed5b8
diff --git a/tasks/roboarc-lock-picking-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-lock-picking-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-lock-picking-05-i01-privileged/environment/runtime_binding.json
index 5428811a73..85282a4f9c 100644
--- a/tasks/roboarc-lock-picking-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-05-i01-privileged/environment/runtime_binding.json
@@ -696,5 +696,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-lock-picking-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-lock-picking-05-i01-privileged/tests/runtime_binding.json
index 5428811a73..85282a4f9c 100644
--- a/tasks/roboarc-lock-picking-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-05-i01-privileged/tests/runtime_binding.json
@@ -696,5 +696,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-05-i01-standard/DIGEST b/tasks/roboarc-lock-picking-05-i01-standard/DIGEST
index f8b613a185..6fce406869 100644
--- a/tasks/roboarc-lock-picking-05-i01-standard/DIGEST
+++ b/tasks/roboarc-lock-picking-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:cfa1dc10f78d8edf846105e0144ff56be211d75395203776694606f3041c6344
+sha256:e8590a85e345fad7ba29beaa73e7effac98a468b32ca04b0a7287dc3f587fb5c
diff --git a/tasks/roboarc-lock-picking-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-lock-picking-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-lock-picking-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-lock-picking-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-lock-picking-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-lock-picking-05-i01-standard/environment/sim/runtime_binding.json
index 5428811a73..85282a4f9c 100644
--- a/tasks/roboarc-lock-picking-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-05-i01-standard/environment/sim/runtime_binding.json
@@ -696,5 +696,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-lock-picking-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-lock-picking-05-i01-standard/tests/runtime_binding.json
index 5428811a73..85282a4f9c 100644
--- a/tasks/roboarc-lock-picking-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-lock-picking-05-i01-standard/tests/runtime_binding.json
@@ -696,5 +696,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-orbits-01-i01-privileged/DIGEST b/tasks/roboarc-orbits-01-i01-privileged/DIGEST
index d4b8e9bb14..88f127e17d 100644
--- a/tasks/roboarc-orbits-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-orbits-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:924e6190c695e5509fe719b238564fbe58f86de058dce4e1e7d775fe51cf4581
+sha256:2e97b9b1233954d2084fd8e2447c7233b73c916b321a82dc1e08a44b3412b7e9
diff --git a/tasks/roboarc-orbits-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-orbits-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-orbits-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-orbits-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-orbits-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-orbits-01-i01-privileged/environment/runtime_binding.json
index 87ca651b7b..c62b49877d 100644
--- a/tasks/roboarc-orbits-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-orbits-01-i01-privileged/environment/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-orbits-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-orbits-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-orbits-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-orbits-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-orbits-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-orbits-01-i01-privileged/tests/runtime_binding.json
index 87ca651b7b..c62b49877d 100644
--- a/tasks/roboarc-orbits-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-orbits-01-i01-privileged/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-orbits-01-i01-standard/DIGEST b/tasks/roboarc-orbits-01-i01-standard/DIGEST
index 257414e8c8..fe8066c1d8 100644
--- a/tasks/roboarc-orbits-01-i01-standard/DIGEST
+++ b/tasks/roboarc-orbits-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:ce056b55eaa3fc760a605bf21b34509f21808ce165dd0ea0c58e48599d64936c
+sha256:59934130555b101f2e166d17a6a8a3fd7a0f76ff512ca87a50736f26991bb3f3
diff --git a/tasks/roboarc-orbits-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-orbits-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-orbits-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-orbits-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-orbits-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-orbits-01-i01-standard/environment/sim/runtime_binding.json
index 87ca651b7b..c62b49877d 100644
--- a/tasks/roboarc-orbits-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-orbits-01-i01-standard/environment/sim/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-orbits-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-orbits-01-i01-standard/tests/runtime_binding.json
index 87ca651b7b..c62b49877d 100644
--- a/tasks/roboarc-orbits-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-orbits-01-i01-standard/tests/runtime_binding.json
@@ -44,5 +44,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-01-i01-privileged/DIGEST b/tasks/roboarc-rope-threading-01-i01-privileged/DIGEST
index bd8ab9111a..677d0da6e9 100644
--- a/tasks/roboarc-rope-threading-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-rope-threading-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:17a85b3dc265b7c7a3bff5a60035aea33b0b0930869523faccf3168982d48673
+sha256:4df9501fc0827972147f300c7cfe42ad956926b7f84bb8ba07d4a42bff009a85
diff --git a/tasks/roboarc-rope-threading-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-rope-threading-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-rope-threading-01-i01-privileged/environment/runtime_binding.json
index c0374325eb..17292eb54a 100644
--- a/tasks/roboarc-rope-threading-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-01-i01-privileged/environment/runtime_binding.json
@@ -200,5 +200,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-rope-threading-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-rope-threading-01-i01-privileged/tests/runtime_binding.json
index c0374325eb..17292eb54a 100644
--- a/tasks/roboarc-rope-threading-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-01-i01-privileged/tests/runtime_binding.json
@@ -200,5 +200,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-01-i01-standard/DIGEST b/tasks/roboarc-rope-threading-01-i01-standard/DIGEST
index 66066ae2cc..c5c1aa4527 100644
--- a/tasks/roboarc-rope-threading-01-i01-standard/DIGEST
+++ b/tasks/roboarc-rope-threading-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:56460f29776f97042f7cc3643b2b15fefdfad2569052929c485f47199034ce88
+sha256:90cbb5a7f6977afed2b62bd559a31b4fe58ef57c2026b30296e385ec9aab0fd6
diff --git a/tasks/roboarc-rope-threading-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-rope-threading-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-rope-threading-01-i01-standard/environment/sim/runtime_binding.json
index c0374325eb..17292eb54a 100644
--- a/tasks/roboarc-rope-threading-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-01-i01-standard/environment/sim/runtime_binding.json
@@ -200,5 +200,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-rope-threading-01-i01-standard/tests/runtime_binding.json
index c0374325eb..17292eb54a 100644
--- a/tasks/roboarc-rope-threading-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-01-i01-standard/tests/runtime_binding.json
@@ -200,5 +200,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-02-i01-privileged/DIGEST b/tasks/roboarc-rope-threading-02-i01-privileged/DIGEST
index 5a3adb30b9..df4d06b991 100644
--- a/tasks/roboarc-rope-threading-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-rope-threading-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:90476016b2681cca162fc98b85db8e3eed792b52a1f796d7ab4f81fd70e66c3e
+sha256:d13a67903377a7f4d77a236d65eee0b7d646c04373e81440b8b0bad1c6387664
diff --git a/tasks/roboarc-rope-threading-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-rope-threading-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-rope-threading-02-i01-privileged/environment/runtime_binding.json
index cabdbf5004..151d6eba55 100644
--- a/tasks/roboarc-rope-threading-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-02-i01-privileged/environment/runtime_binding.json
@@ -266,5 +266,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-rope-threading-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-rope-threading-02-i01-privileged/tests/runtime_binding.json
index cabdbf5004..151d6eba55 100644
--- a/tasks/roboarc-rope-threading-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-02-i01-privileged/tests/runtime_binding.json
@@ -266,5 +266,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-02-i01-standard/DIGEST b/tasks/roboarc-rope-threading-02-i01-standard/DIGEST
index 33fcfd77b6..e045be9bc3 100644
--- a/tasks/roboarc-rope-threading-02-i01-standard/DIGEST
+++ b/tasks/roboarc-rope-threading-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:4267637857cce7595f08d63840f9434a0ed7f0c8d26b276b3734d0709e509cef
+sha256:f1072155d780228deb6e89485d444f6cfa0ac0d9b6fe563fa9fa9e7cdfa00367
diff --git a/tasks/roboarc-rope-threading-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-rope-threading-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-rope-threading-02-i01-standard/environment/sim/runtime_binding.json
index cabdbf5004..151d6eba55 100644
--- a/tasks/roboarc-rope-threading-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-02-i01-standard/environment/sim/runtime_binding.json
@@ -266,5 +266,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-rope-threading-02-i01-standard/tests/runtime_binding.json
index cabdbf5004..151d6eba55 100644
--- a/tasks/roboarc-rope-threading-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-02-i01-standard/tests/runtime_binding.json
@@ -266,5 +266,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-03-i01-privileged/DIGEST b/tasks/roboarc-rope-threading-03-i01-privileged/DIGEST
index 5921dd0166..ca1223b94d 100644
--- a/tasks/roboarc-rope-threading-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-rope-threading-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:9d23a0e3b05cca140e1f612bc27d738461a9148a65cea90937405e2cbdf60ed0
+sha256:d25ed9978802bceee300a7857293cab2982a441006219624bbbd20542c9e1054
diff --git a/tasks/roboarc-rope-threading-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-rope-threading-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-rope-threading-03-i01-privileged/environment/runtime_binding.json
index 023dfd5ba6..7c4877a805 100644
--- a/tasks/roboarc-rope-threading-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-03-i01-privileged/environment/runtime_binding.json
@@ -266,5 +266,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-rope-threading-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-rope-threading-03-i01-privileged/tests/runtime_binding.json
index 023dfd5ba6..7c4877a805 100644
--- a/tasks/roboarc-rope-threading-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-03-i01-privileged/tests/runtime_binding.json
@@ -266,5 +266,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-03-i01-standard/DIGEST b/tasks/roboarc-rope-threading-03-i01-standard/DIGEST
index fbf2027b1a..eedef68389 100644
--- a/tasks/roboarc-rope-threading-03-i01-standard/DIGEST
+++ b/tasks/roboarc-rope-threading-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:77202be0991596d419c0e2ac7ca808b8f3deb15cc10cffaa93a4ca0c19caf83a
+sha256:1f3a1d7bbd6d81bc193452333bb9de0788e652c51cf675f8949ff8c28d1bcbae
diff --git a/tasks/roboarc-rope-threading-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-rope-threading-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-rope-threading-03-i01-standard/environment/sim/runtime_binding.json
index 023dfd5ba6..7c4877a805 100644
--- a/tasks/roboarc-rope-threading-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-03-i01-standard/environment/sim/runtime_binding.json
@@ -266,5 +266,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-rope-threading-03-i01-standard/tests/runtime_binding.json
index 023dfd5ba6..7c4877a805 100644
--- a/tasks/roboarc-rope-threading-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-03-i01-standard/tests/runtime_binding.json
@@ -266,5 +266,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-04-i01-privileged/DIGEST b/tasks/roboarc-rope-threading-04-i01-privileged/DIGEST
index fdbfe53fe5..87581327dc 100644
--- a/tasks/roboarc-rope-threading-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-rope-threading-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:466fa0bedfa43d2e91492393d7611b24a5ae7ad1aa3dce2e3424a988fc4c48d9
+sha256:ad61880fdde135f11c91852488037965326347b46d7bd49befc9da824ca40b9e
diff --git a/tasks/roboarc-rope-threading-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-rope-threading-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-rope-threading-04-i01-privileged/environment/runtime_binding.json
index 8859c17b1e..0c7b94f418 100644
--- a/tasks/roboarc-rope-threading-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-04-i01-privileged/environment/runtime_binding.json
@@ -298,5 +298,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-rope-threading-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-rope-threading-04-i01-privileged/tests/runtime_binding.json
index 8859c17b1e..0c7b94f418 100644
--- a/tasks/roboarc-rope-threading-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-04-i01-privileged/tests/runtime_binding.json
@@ -298,5 +298,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-04-i01-standard/DIGEST b/tasks/roboarc-rope-threading-04-i01-standard/DIGEST
index adec3d4ee2..c0c2892fe9 100644
--- a/tasks/roboarc-rope-threading-04-i01-standard/DIGEST
+++ b/tasks/roboarc-rope-threading-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:9aba11eb5be72939d90a8883f833598b64f6c39ac50b7fec70ec2e92087d014d
+sha256:1b942b748408b1a962b8e4bce8c921acdc786367ad45897757590c0a84abd9ab
diff --git a/tasks/roboarc-rope-threading-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-rope-threading-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-rope-threading-04-i01-standard/environment/sim/runtime_binding.json
index 8859c17b1e..0c7b94f418 100644
--- a/tasks/roboarc-rope-threading-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-04-i01-standard/environment/sim/runtime_binding.json
@@ -298,5 +298,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-rope-threading-04-i01-standard/tests/runtime_binding.json
index 8859c17b1e..0c7b94f418 100644
--- a/tasks/roboarc-rope-threading-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-04-i01-standard/tests/runtime_binding.json
@@ -298,5 +298,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-05-i01-privileged/DIGEST b/tasks/roboarc-rope-threading-05-i01-privileged/DIGEST
index b5c69482aa..90aa7d754d 100644
--- a/tasks/roboarc-rope-threading-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-rope-threading-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:feb1b6b526f99c15007963c064eb27208793bb6005691d5be218c85d80a1b232
+sha256:47c00ddd104647d9c0e040fba11ba866428e1a0f5c7b530490f1773e562e8e5b
diff --git a/tasks/roboarc-rope-threading-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-rope-threading-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-rope-threading-05-i01-privileged/environment/runtime_binding.json
index bf1db1feb0..31f3a2e084 100644
--- a/tasks/roboarc-rope-threading-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-05-i01-privileged/environment/runtime_binding.json
@@ -300,5 +300,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-rope-threading-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-rope-threading-05-i01-privileged/tests/runtime_binding.json
index bf1db1feb0..31f3a2e084 100644
--- a/tasks/roboarc-rope-threading-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-05-i01-privileged/tests/runtime_binding.json
@@ -300,5 +300,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-05-i01-standard/DIGEST b/tasks/roboarc-rope-threading-05-i01-standard/DIGEST
index 73ebaaf082..4b9dd3210e 100644
--- a/tasks/roboarc-rope-threading-05-i01-standard/DIGEST
+++ b/tasks/roboarc-rope-threading-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:0cadd261ad99469e5e2a665e4932f8041740a594277ab02ae06dde8953b04665
+sha256:6386b6990f7dd8e7a00d4ad029e7552a0d113dfc44e8f605ac7f492f6b2623e7
diff --git a/tasks/roboarc-rope-threading-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-rope-threading-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-rope-threading-05-i01-standard/environment/sim/runtime_binding.json
index bf1db1feb0..31f3a2e084 100644
--- a/tasks/roboarc-rope-threading-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-05-i01-standard/environment/sim/runtime_binding.json
@@ -300,5 +300,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-rope-threading-05-i01-standard/tests/runtime_binding.json
index bf1db1feb0..31f3a2e084 100644
--- a/tasks/roboarc-rope-threading-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-05-i01-standard/tests/runtime_binding.json
@@ -300,5 +300,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-06-i01-privileged/DIGEST b/tasks/roboarc-rope-threading-06-i01-privileged/DIGEST
index d391c364fe..71395121e8 100644
--- a/tasks/roboarc-rope-threading-06-i01-privileged/DIGEST
+++ b/tasks/roboarc-rope-threading-06-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:436c531b0ad3fc71c046cf2bac861f82423032c1991267428f4ab9f22c2917e1
+sha256:96b50e32ca8d06f320dd982a700d0af4ee521263b8d03afb75e43bd5a8f19fce
diff --git a/tasks/roboarc-rope-threading-06-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-rope-threading-06-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-06-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-06-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-06-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-rope-threading-06-i01-privileged/environment/runtime_binding.json
index 0845e23c15..c371d0e479 100644
--- a/tasks/roboarc-rope-threading-06-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-06-i01-privileged/environment/runtime_binding.json
@@ -362,5 +362,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-06-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-rope-threading-06-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-06-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-06-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-06-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-rope-threading-06-i01-privileged/tests/runtime_binding.json
index 0845e23c15..c371d0e479 100644
--- a/tasks/roboarc-rope-threading-06-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-06-i01-privileged/tests/runtime_binding.json
@@ -362,5 +362,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-06-i01-standard/DIGEST b/tasks/roboarc-rope-threading-06-i01-standard/DIGEST
index 8a8820e576..748bfebfcb 100644
--- a/tasks/roboarc-rope-threading-06-i01-standard/DIGEST
+++ b/tasks/roboarc-rope-threading-06-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:a439968b7dd5537e7d68cf6000eb30e4cbd7c0bb6efbd848bb13ca541087f946
+sha256:ecabb8039dd0471ed069a5fb6e2b0eed357b46024c3e3420eb07decbc61c7107
diff --git a/tasks/roboarc-rope-threading-06-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-rope-threading-06-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-06-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-06-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-06-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-rope-threading-06-i01-standard/environment/sim/runtime_binding.json
index 0845e23c15..c371d0e479 100644
--- a/tasks/roboarc-rope-threading-06-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-06-i01-standard/environment/sim/runtime_binding.json
@@ -362,5 +362,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-06-i01-standard/tests/runtime_binding.json b/tasks/roboarc-rope-threading-06-i01-standard/tests/runtime_binding.json
index 0845e23c15..c371d0e479 100644
--- a/tasks/roboarc-rope-threading-06-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-06-i01-standard/tests/runtime_binding.json
@@ -362,5 +362,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-07-i01-privileged/DIGEST b/tasks/roboarc-rope-threading-07-i01-privileged/DIGEST
index 65ba048c4c..7c3484a443 100644
--- a/tasks/roboarc-rope-threading-07-i01-privileged/DIGEST
+++ b/tasks/roboarc-rope-threading-07-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:596eaace79736283f4b07508f972b1ac045b12e413438049d371428b28c249f9
+sha256:d5d62a1fafe50e63e3a429994426d878326047fb9b531a48cbfaed6b3aa0a6ec
diff --git a/tasks/roboarc-rope-threading-07-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-rope-threading-07-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-07-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-07-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-07-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-rope-threading-07-i01-privileged/environment/runtime_binding.json
index 2f86b6a527..e2f309d7b0 100644
--- a/tasks/roboarc-rope-threading-07-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-07-i01-privileged/environment/runtime_binding.json
@@ -362,5 +362,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-07-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-rope-threading-07-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-07-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-07-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-07-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-rope-threading-07-i01-privileged/tests/runtime_binding.json
index 2f86b6a527..e2f309d7b0 100644
--- a/tasks/roboarc-rope-threading-07-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-07-i01-privileged/tests/runtime_binding.json
@@ -362,5 +362,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-07-i01-standard/DIGEST b/tasks/roboarc-rope-threading-07-i01-standard/DIGEST
index b86206c712..3e2335a19a 100644
--- a/tasks/roboarc-rope-threading-07-i01-standard/DIGEST
+++ b/tasks/roboarc-rope-threading-07-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:fc565bef0474f15bf545ee48321a80707fce0895a4bf3cba8e316d7df0eaa032
+sha256:4673d75562bee7f15f3971850e5aa1c8b098b4a844a962a2f05172ac491aeae9
diff --git a/tasks/roboarc-rope-threading-07-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-rope-threading-07-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-07-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-07-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-07-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-rope-threading-07-i01-standard/environment/sim/runtime_binding.json
index 2f86b6a527..e2f309d7b0 100644
--- a/tasks/roboarc-rope-threading-07-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-07-i01-standard/environment/sim/runtime_binding.json
@@ -362,5 +362,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-07-i01-standard/tests/runtime_binding.json b/tasks/roboarc-rope-threading-07-i01-standard/tests/runtime_binding.json
index 2f86b6a527..e2f309d7b0 100644
--- a/tasks/roboarc-rope-threading-07-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-07-i01-standard/tests/runtime_binding.json
@@ -362,5 +362,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-08-i01-privileged/DIGEST b/tasks/roboarc-rope-threading-08-i01-privileged/DIGEST
index ccb670af50..7987f55bb5 100644
--- a/tasks/roboarc-rope-threading-08-i01-privileged/DIGEST
+++ b/tasks/roboarc-rope-threading-08-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:0f4e6b479cf1328bd7becce597df7a95b634956c7bff7cdb597a8ebb0ac23cb2
+sha256:3479294bedd3f6443db79af98ba0edebca8a02745bc38400d2ad0cefa8be4534
diff --git a/tasks/roboarc-rope-threading-08-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-rope-threading-08-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-08-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-08-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-08-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-rope-threading-08-i01-privileged/environment/runtime_binding.json
index 65ac55e7d6..a4b866a068 100644
--- a/tasks/roboarc-rope-threading-08-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-08-i01-privileged/environment/runtime_binding.json
@@ -428,5 +428,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-08-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-rope-threading-08-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-08-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-08-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-08-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-rope-threading-08-i01-privileged/tests/runtime_binding.json
index 65ac55e7d6..a4b866a068 100644
--- a/tasks/roboarc-rope-threading-08-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-08-i01-privileged/tests/runtime_binding.json
@@ -428,5 +428,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-08-i01-standard/DIGEST b/tasks/roboarc-rope-threading-08-i01-standard/DIGEST
index 1af32db771..60105c017e 100644
--- a/tasks/roboarc-rope-threading-08-i01-standard/DIGEST
+++ b/tasks/roboarc-rope-threading-08-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:5364949695d0e7312069542c3955222664b97f05e8eac7d5cd79dce57d115c43
+sha256:0dd6be93ac426a57afb44875cd88b96bac38f4f45fbc972b3ed815f506539d0f
diff --git a/tasks/roboarc-rope-threading-08-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-rope-threading-08-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-rope-threading-08-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-rope-threading-08-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-rope-threading-08-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-rope-threading-08-i01-standard/environment/sim/runtime_binding.json
index 65ac55e7d6..a4b866a068 100644
--- a/tasks/roboarc-rope-threading-08-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-08-i01-standard/environment/sim/runtime_binding.json
@@ -428,5 +428,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-rope-threading-08-i01-standard/tests/runtime_binding.json b/tasks/roboarc-rope-threading-08-i01-standard/tests/runtime_binding.json
index 65ac55e7d6..a4b866a068 100644
--- a/tasks/roboarc-rope-threading-08-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-rope-threading-08-i01-standard/tests/runtime_binding.json
@@ -428,5 +428,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-privileged/DIGEST b/tasks/roboarc-slotted-post-ring-01-i01-privileged/DIGEST
index e4aefd0c66..f833ca076c 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-privileged/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-01-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:fd5b7b615c1505e2f46b2b9b419193d6d5aa66722967d2f8d71113e9b903ead2
+sha256:ab3debc4de2c2c3b75592b9b7708b601144908bc671be728748363f564f3512f
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-slotted-post-ring-01-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-01-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-slotted-post-ring-01-i01-privileged/environment/runtime_binding.json
index e57daa0730..98bfdae0fe 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-01-i01-privileged/environment/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-slotted-post-ring-01-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-01-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-01-i01-privileged/tests/runtime_binding.json
index e57daa0730..98bfdae0fe 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-01-i01-privileged/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-standard/DIGEST b/tasks/roboarc-slotted-post-ring-01-i01-standard/DIGEST
index 9cf0bb31d2..b3885ff603 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-standard/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-01-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:20a0ad2518f74b8a57715c2dab3026e2650db1fd57fe63129f3441d50f0f8b71
+sha256:06d7cbf9f92166313e50f9ed224ae7ec77a4a6505f91c77b0c1e4ee6584f05fc
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-slotted-post-ring-01-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-01-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-slotted-post-ring-01-i01-standard/environment/sim/runtime_binding.json
index e57daa0730..98bfdae0fe 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-01-i01-standard/environment/sim/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-01-i01-standard/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-01-i01-standard/tests/runtime_binding.json
index e57daa0730..98bfdae0fe 100644
--- a/tasks/roboarc-slotted-post-ring-01-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-01-i01-standard/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-privileged/DIGEST b/tasks/roboarc-slotted-post-ring-02-i01-privileged/DIGEST
index 846a8640bb..8d88451923 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-privileged/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-02-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:a3ca8719c5714be296c63e8c7351af01a9ac5addedd924ab86b29276c2e90af0
+sha256:461c02cc7ec66832c199f063d41482c1b4d36fc0a89f8f64d07facd21a64b783
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-slotted-post-ring-02-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-02-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-slotted-post-ring-02-i01-privileged/environment/runtime_binding.json
index 800564307e..0ddea0da77 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-02-i01-privileged/environment/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-slotted-post-ring-02-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-02-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-02-i01-privileged/tests/runtime_binding.json
index 800564307e..0ddea0da77 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-02-i01-privileged/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-standard/DIGEST b/tasks/roboarc-slotted-post-ring-02-i01-standard/DIGEST
index 2e8c204598..511b0ee030 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-standard/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-02-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:f1910c5b139d6098303f89bcc1ccb9bbd26eb2e46c85ec4e1c56911485ea7147
+sha256:7573ad74433d3fa84526a7faaa0c97bf475e0c6c225f3484d3bd740a60546882
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-slotted-post-ring-02-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-02-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-slotted-post-ring-02-i01-standard/environment/sim/runtime_binding.json
index 800564307e..0ddea0da77 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-02-i01-standard/environment/sim/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-02-i01-standard/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-02-i01-standard/tests/runtime_binding.json
index 800564307e..0ddea0da77 100644
--- a/tasks/roboarc-slotted-post-ring-02-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-02-i01-standard/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-privileged/DIGEST b/tasks/roboarc-slotted-post-ring-03-i01-privileged/DIGEST
index afec467d84..c7381b8d30 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-privileged/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-03-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:1c71b9a34226cf8c4d61d1e0422aceb5c90942ab3f3ea26d912c7dd22615e8e5
+sha256:541b029d30da553b4fba0e4f494bca39ccdefb999d1c38b749e9ccc37740d6f4
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-slotted-post-ring-03-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-03-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-slotted-post-ring-03-i01-privileged/environment/runtime_binding.json
index 9fa913d4d8..e2638ee699 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-03-i01-privileged/environment/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-slotted-post-ring-03-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-03-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-03-i01-privileged/tests/runtime_binding.json
index 9fa913d4d8..e2638ee699 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-03-i01-privileged/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-standard/DIGEST b/tasks/roboarc-slotted-post-ring-03-i01-standard/DIGEST
index 82d752f687..d4fdd6af4d 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-standard/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-03-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:420606a0decaa06d4cad4cc2e8c663231cdcead488c0047496b7300e62e7880a
+sha256:be665eff0fd0bbd52deadfb03194b99595fd5eab0adf5e6fef885780acd4156b
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-slotted-post-ring-03-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-03-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-slotted-post-ring-03-i01-standard/environment/sim/runtime_binding.json
index 9fa913d4d8..e2638ee699 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-03-i01-standard/environment/sim/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-03-i01-standard/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-03-i01-standard/tests/runtime_binding.json
index 9fa913d4d8..e2638ee699 100644
--- a/tasks/roboarc-slotted-post-ring-03-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-03-i01-standard/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-privileged/DIGEST b/tasks/roboarc-slotted-post-ring-04-i01-privileged/DIGEST
index fded0ebfa0..42f90b1223 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-privileged/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-04-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:393682e786a4047ab2548d786824132a7987e2a0a31f7c8121d75671ae537682
+sha256:a15ef017c4ad65841932d920ff2d75de364bb372a4798409df744669dbf07a47
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-slotted-post-ring-04-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-04-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-slotted-post-ring-04-i01-privileged/environment/runtime_binding.json
index a3dbe33a83..c7ad4b52ad 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-04-i01-privileged/environment/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-slotted-post-ring-04-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-04-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-04-i01-privileged/tests/runtime_binding.json
index a3dbe33a83..c7ad4b52ad 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-04-i01-privileged/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-standard/DIGEST b/tasks/roboarc-slotted-post-ring-04-i01-standard/DIGEST
index bace38b138..c202b48346 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-standard/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-04-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:8e4d440424dba85bc61a7eb56e426fe1002e996e55e40bd7cb1f7449be9462c4
+sha256:3d8f8faa6598be15a72f8c8bccc444b009947b5b6bbf0210535c4fdb758dfe2a
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-slotted-post-ring-04-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-04-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-slotted-post-ring-04-i01-standard/environment/sim/runtime_binding.json
index a3dbe33a83..c7ad4b52ad 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-04-i01-standard/environment/sim/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-04-i01-standard/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-04-i01-standard/tests/runtime_binding.json
index a3dbe33a83..c7ad4b52ad 100644
--- a/tasks/roboarc-slotted-post-ring-04-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-04-i01-standard/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-privileged/DIGEST b/tasks/roboarc-slotted-post-ring-05-i01-privileged/DIGEST
index 54be94e6e9..652a12a743 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-privileged/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-05-i01-privileged/DIGEST
@@ -1 +1 @@
-sha256:120cb95babaea25d0d66c64b0b3ab1addfe569cb3750211e8f6589a0ac261068
+sha256:d9c0abaab13f23fbe4b8254d08893bf97142fa9606e6c53f877eafdffba31d77
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-privileged/environment/nyx_direct.py b/tasks/roboarc-slotted-post-ring-05-i01-privileged/environment/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-privileged/environment/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-05-i01-privileged/environment/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-privileged/environment/runtime_binding.json b/tasks/roboarc-slotted-post-ring-05-i01-privileged/environment/runtime_binding.json
index 2eecfb796a..142dc541ed 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-privileged/environment/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-05-i01-privileged/environment/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-privileged/tests/nyx_direct.py b/tasks/roboarc-slotted-post-ring-05-i01-privileged/tests/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-privileged/tests/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-05-i01-privileged/tests/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-privileged/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-05-i01-privileged/tests/runtime_binding.json
index 2eecfb796a..142dc541ed 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-privileged/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-05-i01-privileged/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-standard/DIGEST b/tasks/roboarc-slotted-post-ring-05-i01-standard/DIGEST
index 9dfd831b7f..5e93dd9ecc 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-standard/DIGEST
+++ b/tasks/roboarc-slotted-post-ring-05-i01-standard/DIGEST
@@ -1 +1 @@
-sha256:da35743f48f7ba30e26e9f779b812503dd7b72874b14c15e47962218385dae35
+sha256:88aacfe6853c7b046a85b0123a5ebc0ef3b38b8260479db73708ccfa670c2588
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-standard/environment/sim/nyx_direct.py b/tasks/roboarc-slotted-post-ring-05-i01-standard/environment/sim/nyx_direct.py
index 1fb9eb732d..6396e54fbc 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-standard/environment/sim/nyx_direct.py
+++ b/tasks/roboarc-slotted-post-ring-05-i01-standard/environment/sim/nyx_direct.py
@@ -615,6 +615,7 @@ class Slot:
static_pos: np.ndarray | None = None
static_quat: np.ndarray | None = None
shape: tuple = () # geometry for the raster depth: ("plane", size) | ("box", size) | ("mesh", v, f)
+ carrier: str | None = None # a fixed entity's link: its MuJoCo body, drawn there when not welded to the world
@dataclass
@@ -803,7 +804,10 @@ class NyxScene:
np.asarray(origin_quat)
if carried:
body, pos, quat = self._carried(spec.name, e, pos, quat)
- e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape))
+ # a fixed entity is fixed at its base only: a link behind a joint (lock_picking's rotor discs on their
+ # hinges) moves in the MuJoCo model, and _bind draws it at its body when that body is not welded
+ e.slots.append(Slot(spec.name, link, body, pos, quat, shape=shape,
+ carrier=self._body(spec.name, link) if e.fixed else None))
if e.fixed:
self._static_slots(e)
elif kind == "mesh":
@@ -1680,6 +1684,14 @@ class NyxDirect:
for name, rope in (getattr(world, "_ropes", None) or {}).items():
birth = mujoco.MjData(world.model)
mujoco.mj_kinematics(world.model, birth)
+ # A rope born from a MuJoCo birth archive (no IPC settled state, so no frozen FEM birth here) has its chain
+ # built at that birth (qpos0) while its volume spawns straight: the skin binds the chain's own birth
+ # vertices (RopeChain.birth, which belong to qpos0), not the spawn (2026-10-14: the redesigned knot tiers
+ # rendered their ropes straight, the skin bound to the spawn at the knotted qpos0)
+ d = next((x for x in nyx.deformables if x["entity"].name == name), None)
+ if d is not None and name not in scene.fem_birth and np.shape(rope.birth) == d["entity"].birth_vertices.shape:
+ d["entity"].birth_vertices = np.asarray(rope.birth, dtype=np.float64)
+ nyx.deform_pos[d["v_start"]:d["v_start"] + d["n_vertices"]] = d["entity"].birth_vertices.astype(np.float32)
nyx.bind_chain(name, world.model, birth, bodies=[int(b) for b in rope.bodies], link_s=rope.s_nodes)
for name, cloth in (getattr(world, "_cloths", None) or {}).items():
nyx.bind_cloth(name, cloth)
@@ -1690,7 +1702,10 @@ class NyxDirect:
ids = []
for s in self.slots:
if s.body is None:
- ids.append(-1)
+ # a fixed entity's link whose MuJoCo body moves (not welded to the world: behind a joint) is drawn at
+ # that body, as a free entity's link; every other fixed slot keeps its static pose
+ b = -1 if s.carrier is None else mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.carrier)
+ ids.append(b if b >= 0 and int(mj_model.body_weldid[b]) != 0 else -1)
continue
b = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, s.body)
if b < 0:
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-standard/environment/sim/runtime_binding.json b/tasks/roboarc-slotted-post-ring-05-i01-standard/environment/sim/runtime_binding.json
index 2eecfb796a..142dc541ed 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-standard/environment/sim/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-05-i01-standard/environment/sim/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}
diff --git a/tasks/roboarc-slotted-post-ring-05-i01-standard/tests/runtime_binding.json b/tasks/roboarc-slotted-post-ring-05-i01-standard/tests/runtime_binding.json
index 2eecfb796a..142dc541ed 100644
--- a/tasks/roboarc-slotted-post-ring-05-i01-standard/tests/runtime_binding.json
+++ b/tasks/roboarc-slotted-post-ring-05-i01-standard/tests/runtime_binding.json
@@ -41,5 +41,5 @@
"sm86": "712470d2166b40058a4b6f304fb4a041bffc45c71ab37c7dec2d33d1a0b34011"
},
"render_bridge_sha256": "0e04db54feded2929769443e183e2db1e6138eaec62701070fbd462925d8a2b0",
- "nyx_direct_sha256": "5d667130086c340c5e285b12e0d4596d71098f70f6194d198718bfa9b200d5c5"
+ "nyx_direct_sha256": "4809c45a7a5cd7725f95f9e49e55a1dc9d184d2b2b59e780aac19cdaf98fac20"
}