Skip to content

Development branch, release 3.17.0 - #371

Open
AlexanderFabisch wants to merge 30 commits into
mainfrom
develop
Open

AlexanderFabisch wants to merge 30 commits into
mainfrom
develop

Conversation

@AlexanderFabisch

@AlexanderFabisch AlexanderFabisch commented Jul 29, 2026 •

Copy link
Copy Markdown
Member

Features

  • Adds two new functions to rotations for converting between rotation matrices and continuous 6D rotation representation introduced by Zhou et al (CVPR 2019). Contributed by @fagg.
    • rotation_6d_from_matrix - encode a rotation matrix as a 6D vector (its first two columns stacked)
    • matrix_from_rotation_6d - decode a 6D vector back into a rotation matrix via Gram-Schmidt orthonormalization

Bugfixes

Doribelove and others added 25 commits September 11, 2026 01:23
Previously [0, 0, 0, -1] would be normalized to [-1, 0, 0, 0].
Signed-off-by: 李永祺 <doribelove@gmail.com>
…h999/pytransform3d into jashshah999-fix-transform-log-small-rotation
Co-authored-by: Alexander Fabisch <alexander.fabisch@dfki.de>
Use arctan2 instead of arccos to extract the rotation angle in
* axis_angle_from_quaternion
* axis_angles_from_quaternions
* axis_angle_from_two_directions
* angles_between_vectors, 3D case

arccos rounds angles below about 1e-8 to exactly 0 and loses relative
precision well above that. Same fix as for axis_angle_from_matrix and
axis_angles_from_matrices, see #377.
Fix exponential_coordinates_from_transforms and computation of angle
between vectors.
Allocate the default output using both the input and norm dtypes. This retains floating-point input precision and avoids truncating normalized integer and boolean vectors.

AI-assisted-by: OpenAI Codex
Signed-off-by: 李永祺 <doribelove@gmail.com>
Allocate normalized axis-angle results using the input and axis-norm dtypes, preserving floating-point precision and avoiding integer truncation and sign-flip casting errors.

Assisted-by: OpenAI Codex (model: GPT-6, autonomous)
Signed-off-by: 李永祺 <doribelove@gmail.com>

This branch has not been deployed

No deployments
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.

6 participants