Skip to content

fix(loader): unify joint order to canonical at zarr-build time - #3

Merged
fei-yang-wu merged 1 commit into
mainfrom
fix/csv_to_npz
Jul 8, 2026
Merged

fix(loader): unify joint order to canonical at zarr-build time#3
fei-yang-wu merged 1 commit into
mainfrom
fix/csv_to_npz

Conversation

@fei-yang-wu

Copy link
Copy Markdown
Member

Make each NPZ's own joint_names the authoritative native order and add a canonical_joint_names option. At zarr-build time, joint-dim arrays (joint_pos/joint_vel/qpos/qvel and their next_* counterparts) are remapped native -> canonical (robot articulation order) and the store is labelled with the canonical order. Training then reads a single canonical layout, making the reference->target remap identity regardless of source ordering.

Make each NPZ's own `joint_names` the authoritative native order and add a
`canonical_joint_names` option. At zarr-build time, joint-dim arrays
(joint_pos/joint_vel/qpos/qvel and their next_* counterparts) are remapped
native -> canonical (robot articulation order) and the store is labelled with
the canonical order. Training then reads a single canonical layout, making the
reference->target remap identity regardless of source ordering.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@fei-yang-wu
fei-yang-wu merged commit cf70f6a into main Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant