v2.0.0
ReferenceFrameRotations v2.0.0
- Previously,
Quaternionwas<:AbstractVector. However, this choice was leading to many problems when interfacing with other packages. For example, it was very difficult to make it works together with Zygote.jl because of the multiplication. In the previous version,Quaternionwas an array in which the multiplicationq1 * q2(both 4x1 arrays) leads to another 4x1 arrays, breaking a lot of assumptions about arrays. Many functions were defined to reduce the number of breakage. Quaternion supports iterations and broadcast. Hence, I do not expect many problems. - The function
zerosforQuaternionis now deprecated. Usezeroinstead. - The function
create_rotation_matrixis now deprecated. Useangle_to_dcminstead. - The function
angle_to_dcmcan now create a DCM from a single rotation. - The function
angle_to_quatcan now create a quaternion from a single rotation. - The function
angle_to_rotcan now create a rotation from a single rotation. - The functions
zeroandoneare now defined forQuaternion. - Many improvements related to the type promotion in the functions.
Closed issues:
- Product between a quaternion and a pure quaternion (#16)