- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.6k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
For the EMAJointPositionToLimitsAction controller, during reset(), it's trying to reset history to current joint positions. The indexing part
self._asset.data.joint_pos[env_ids, self._joint_ids]
has error if EMA control is applied for just part of the robot (e.g. arm + hand setup)
Steps to reproduce
I don't find any current robot that's using the arm + hand setup so reproducing the error would be hard. But I do have a one line fix for this issue which I will describe latter.
Fixing the error
self._prev_applied_actions[env_ids, :] = self._asset.data.joint_pos[env_ids][:, self._joint_ids]
System Info
Describe the characteristic of your environment:
- Commit: 2804ff3
- Isaac Sim Version: 2022.2.0
- OS: Ubuntu 22.04
- GPU: NVIDIA GeForce RTX 4090
- CUDA: 12.4
- GPU Driver: 550.107.02
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working