Skip to content

Commit 270d11d

Browse files
committed
apply fix from Genesis-Embodied-AI#2877
1 parent 5eb402d commit 270d11d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

genesis/engine/couplers/ipc_coupler/coupler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def _setup_coupling_config(self):
209209
coup_type = entity.material.coup_type
210210
if coup_type is None:
211211
# Auto-select based on entity type
212-
if entity.n_joints > 0:
212+
if entity.n_dofs > 0:
213213
coup_type = "external_articulation" if entity.base_link.is_fixed else "two_way_soft_constraint"
214214
else:
215215
coup_type = "ipc_only"

0 commit comments

Comments
 (0)