You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug Report] Runtime error when using randomize_joint_parameters event #4050
When adding an event using randomize_joint_parameters to randomize actuator parameters at startup, the environment initialization fails with a shape mismatch RuntimeError when writing joint friction coefficients to simulation buffers.
The failure appears during event_manager.apply(mode="startup").
It seems the randomizer produces a tensor of shape [num_envs, 1, num_joints], but the writer expects shape [num_envs, num_joints]. Possibly missing a squeeze or incorrect broadcast inside randomize_joint_parameters.
Checklist
I have checked that there is no similar issue in the repo (required)
I have checked that the issue is not in running Isaac Sim itself and is related to the repo
Acceptance Criteria
The randomize_joint_parameters event runs without errors at startup
Activity
GiulioRomualdi commentedon Nov 20, 2025
The error seems affecting also the latest main c627940
GiulioRomualdi commentedon Nov 20, 2025
#4051 attempts to fix the problem
RandomOakForest commentedon Nov 21, 2025
Thank you for posting this and adding the PR. The team will review it.
Fixes indexing for joint parameters in `randomize_joint_parameters` e…
Fixes indexing for joint parameters in `randomize_joint_parameters` e…
Fixes indexing for joint parameters in `randomize_joint_parameters` e…
Fixes indexing for joint parameters in `randomize_joint_parameters` e…
Fixes indexing for joint parameters in `randomize_joint_parameters` e…