mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-30 04:59:44 +00:00
289e577fc7
* fix(utils): reject zero-norm / invalid quaternions in Rotation Zero or non-finite inputs previously slipped through and produced NaN rotation matrices on later convert/apply. Validate shape and scept for norm > 0 before normalizing. * fix(teleop): degrade phone AR quat parse like missing pose Address review on #3988: Rotation.from_quat now rejects zero/NaN quaternions. Wrap HEBI iOS ARKit permission in ValueError and return the existing (False, None, None, None) path so teleop does not die mid-session before tracking is ready. * style: ruff format long ValueError in rotation.py --------- Co-authored-by: Steven Palma <imstevenpmwork@ieee.org>