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
the call to _randomize_prop_by_op fails because the slice assignment adds an extra dimension.
Exception has occurred: RuntimeError
shape mismatch: value tensor of shape [2, 12] cannot be broadcast to indexing result of shape [2, 1, 12]
File "/home/ryley/Projects/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/envs/mdp/events.py", line 937, in _randomize_prop_by_op
data[dim_0_ids, dim_1_ids] = dist_fn(*distribution_parameters, (n_dim_0, n_dim_1), device=data.device)
File "/home/ryley/Projects/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/envs/mdp/events.py", line 383, in randomize_joint_parameters
)
# Description
resolves: isaac-sim#1000resolves: isaac-sim#1011
depends: isaac-sim#1006
## Type of change
- New feature (non-breaking change which adds functionality)
- This change may require a documentation update
## Checklist
- [x] have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] My changes generate no new warnings
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
- [x] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
Describe the bug
when using randomize_joint_parameters like this:
the call to _randomize_prop_by_op fails because the slice assignment adds an extra dimension.
Steps to reproduce:
Add this to
IsaacLab/source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/manager_based/locomotion/velocity/velocity_env_cfg.py
Line 150 in e00d625
And run the ---task Isaac-Velocity-Flat-Unitree-Go2-v0
The text was updated successfully, but these errors were encountered: