Commit 0616c4b
committed
Expose the CPU-resident tensor types as public aliases
The eight types added to the CPU-only classification were referenced through
the raw ``_TT`` enum, leaving the candidate tuple as a mix of module aliases
and raw enum members and giving a future reader no reason why these eight were
different.
This module is the alias layer over the ovphysx enum, so a type worth
classifying is worth naming. Each alias carries the shape, dtype and units
taken from the wheel's own type table, which the raw references did not.
Naming follows the established convention: the ``ARTICULATION_`` prefix is
dropped for articulation types, as with DOF_STIFFNESS and BODY_MASS, and
retained for rigid-body ones, as with RIGID_BODY_MASS.1 parent c295669 commit 0616c4b
2 files changed
Lines changed: 62 additions & 11 deletions
File tree
- source/isaaclab_ov
- changelog.d
- isaaclab_ov
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
1 | 14 | | |
2 | 15 | | |
3 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
152 | 165 | | |
153 | 166 | | |
154 | 167 | | |
| |||
193 | 206 | | |
194 | 207 | | |
195 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
196 | 227 | | |
197 | 228 | | |
198 | 229 | | |
| |||
225 | 256 | | |
226 | 257 | | |
227 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
228 | 269 | | |
229 | 270 | | |
230 | 271 | | |
| |||
433 | 474 | | |
434 | 475 | | |
435 | 476 | | |
| 477 | + | |
| 478 | + | |
436 | 479 | | |
437 | 480 | | |
438 | 481 | | |
439 | 482 | | |
440 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
441 | 487 | | |
442 | 488 | | |
443 | 489 | | |
444 | 490 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
456 | 494 | | |
457 | 495 | | |
458 | 496 | | |
| |||
0 commit comments