refactor: move intrinsics/extrinsics into embodiment classes#380
refactor: move intrinsics/extrinsics into embodiment classes#380ElmoPA wants to merge 2 commits into
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
| _fx, _fy = _fx0 * _sx, _fy0 * _sy | ||
| _cx, _cy = _cx0 * _sx, _cy0 * _sy | ||
|
|
||
| MECKA_INTRINSICS = np.array( |
There was a problem hiding this comment.
Just type it directly into here instead of this ugly code above
Move ARIA/MECKA/SCALE intrinsics and EXTRINSICS dict out of egomimicUtils and into the embodiment classes (Aria, Mecka, Scale, Eva) as class attributes. Remove CameraTransforms class and VIZ_INTRINSICS_KEY indirection; viz functions now take an intrinsics matrix directly via cls.INTRINSICS.
Add Aria.viz mode="gaze" that projects (yaw, pitch, depth) gaze vectors through ARIA_T_RGB_CPF and Aria.INTRINSICS, plus a "gaze" keymap entry. Update zarr_data_viz.ipynb to demonstrate the new mode.
e088ec3 to
4eb7558
Compare
Claude Code ReviewPR Review: Move intrinsics/extrinsics into embodiment classesSummaryRefactor moves camera intrinsics/extrinsics constants from Key concerns🔴 1. Bogus
|

Move ARIA/MECKA/SCALE intrinsics and EXTRINSICS dict out of egomimicUtils
and into the embodiment classes (Aria, Mecka, Scale, Eva) as class attributes.
Remove CameraTransforms class and VIZ_INTRINSICS_KEY indirection; viz functions
now take an intrinsics matrix directly via cls.INTRINSICS.