You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Fix pytransform3d.batch_rotations.matrices_from_compact_axis_angles with precomputed axes and angles and without output buffer. #373, contributed by @Doribelove.
Use arctan2 instead of arccos to extract the rotation angle. arccos rounds angles below about 1e-8 to exactly 0 and loses relative precision well above that.
Fix pytransform3d.rotations.axis_angle_from_matrix. #376, merged with #374
Fix pytransform3d.batch_rotations.axis_angles_from_matrices. #378, contributed by @Doribelove
More functions of pytransform3d.rotations (axis_angle_from_quaternion, axis_angle_from_two_directions), and pytransform3d.batch_rotations (axis_angles_from_quaternions, , angles_between_vectors, 3D case). #379
Fix pytransform3d.rotations.euler_from_matrix close to gimbal lock with the same trick. #375, contributed by @jashshah999
Fix pytransform3d.batch_rotations.norm_axis_angles to return [1, 0, 0, 0] for all cases of no rotations. Previously, norm_axis_angles([0, 0, 0, -1]) would be normalized to [-1, 0, 0, 0].
Fix pytransform3d.transformations.transform_log_from_transform for small angles. #374, contributed by @jashshah999
Improve numerical stability of angle_between_vectors and angles_between_vectors to simplify trajectories.exponential_coordinates_from_transforms. #380
Fix behavior for integer inputs in
batch vector normalization; #381, contributed by @Doribelove
batch axis-angle normalization; #382, contributed by @Doribelove
Stabilize the SO(3) and SE(3) Jacobians for pure translations and small rotations. #383, contributed by @Afloat16
TemporalTransformManager
Fix final timestamp queries in time-series transforms. #385, contributed by @dddd-jh
Restore temporal query state when transform evaluation fails. #386, contributed by @dddd-jh