Commit f62a968
authored
fix(robots): correct ANYmal default_orientation to wxyz identity (#782)
default_orientation is consumed as wxyz by every backend (mujoco reads
qw,qx,qy,qz; isaacgym/newton reorder wxyz->xyzw; isaacsim rot is wxyz). The
value [0,0,0,1] is the xyzw identity pasted into a wxyz field — under wxyz it is
a 180-degree yaw, so ANYmal spawned facing backwards. Use [1,0,0,0]. No task or
policy references anymal, so nothing depended on the old spawn.
Adds a general regression test asserting the wxyz identity.1 parent b584311 commit f62a968
2 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
0 commit comments