Small quaternion rotations are lost in axis-angle conversion
@sylvesterkaczmarek đang làm issue này rồi.
Từ ngày 3/10/2026.
- #564 của @sylvesterkaczmarek — đang mở
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Start with the transformations.axisangle_to_quat and transformations.quat_to_axisangle entry points and run the reproduction shown in the issue. Check the existing conversion behavior around the 1e-10 threshold, negative quaternions, principal-angle handling, half-turns, and scalar validation. Done means small above-threshold rotations round-trip without losing their vector information while the stated existing conventions remain unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Reproduction
import numpy as np
from dm_control.utils import transformations
rotation = np.array([1e-8, 0., 0.])
quat = transformations.axisangle_to_quat(rotation)
print(quat) # [1.e+00, 5.e-09, 0.e+00, 0.e+00]
print(transformations.quat_to_axisangle(quat)) # [0., 0., 0.]
The rotation is above the function's 1e-10 threshold. Its information remains in the quaternion's vector part, but the scalar has rounded to one, so arccos loses the angle. Equivalent negative quaternions also suffer cancellation.
Recover small angles from the vector part while retaining the principal-angle range, half-turn convention, subthreshold identity behavior and scalar-range validation. Native MuJoCo quaternion-to-velocity conversion retains this rotation.
Reproduced on main at a04e3e4cf56c12117d2294bb090f9acec21e5c67.
- Ngôn ngữ chính
- Python
- Star
- 4.7k
- Fork
- 771
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của google-deepmind/dm_control
-
Initial observation padding changes when source arrays are reusedCó thể đã có người làm @sylvesterkaczmarek đã nhận 16 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
google-deepmind/dm_control#559 ·
-
Built-in observation aggregators drop bounds-preserving specificationsCó thể đã có người làm @sylvesterkaczmarek đã nhận 16 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 75/100
google-deepmind/dm_control#560 ·
-
Flattened observations disagree with explicitly declared task specificationsCó thể đã có người làm @sylvesterkaczmarek đã nhận 16 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 74/100
google-deepmind/dm_control#557 ·
-
Schema regeneration in 985d0940 dropped three declarations MuJoCo 3.12 accepts (contact sensor, jointinparent references, custom numeric arrays)Có thể đã có người làm @shoemoney đã nhận 51 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
google-deepmind/dm_control#552 ·
-
DeprecationWarning: Setting the shape on a NumPy array has been deprecated in NumPy 2.5.Có thể đã có người làm @Trenza1ore đã nhận 96 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
google-deepmind/dm_control#540 · 1 bình luận ·
Tất cả issue của google-deepmind/dm_control
Issue tương tự
-
md/asciidoc/csv: an explicit `encoding="utf-8"` keeps a leading BOM, the auto-detect path drops itĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
docling-project/docling#4846 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/sessions comp/dashboard comp/desktop comp/gateway comp/tui duplicate P2 sweeper:risk-session-state type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#138914 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bot-triaged module: activation checkpointing module: inductor oncall: pt2 triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[oblt-aw][autodoc] Update PR Actions Detective E2E prerequisites and fix dashboard-format table typoĐang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
elastic/oblt-aw#2382 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày