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
fix(terminations): index before reduce in joint_pos_out_of_limit
Root cause: reduced over joints to [N] then indexed with [:, joint_ids] → IndexError.
Change: compare to limits → [N,J], slice columns with joint_ids → [N,K], then .any(dim=1).
Result: returns [N] without error for both [1,J,2] and [N,J,2] limit tensors; joint_ids=None still uses all joints.
0 commit comments