Commit 2f2a4e1
committed
Pass 3D wrench buffer to LINK_WRENCH binding
The OVPhysX wheel's ``LINK_WRENCH`` binding expects a 3D
``(num_instances, num_bodies, 9)`` tensor (force ⊕ torque ⊕ position),
but ``compute()`` was passing the 2D ``(N*B, 9)`` flat reshape view, so
the wheel rejected with ``write_tensor_binding: expected 3D tensor, got
2D``. Pass the 3D buffer directly and drop the now-unused flat alias.1 parent e44809c commit 2f2a4e1
1 file changed
Lines changed: 4 additions & 11 deletions
Lines changed: 4 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
699 | | - | |
700 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
701 | 701 | | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | 702 | | |
710 | 703 | | |
711 | 704 | | |
| |||
0 commit comments