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
julia> q =UnitQuaternion(1., 0., 0., 1.) # with PR#1753×3 UnitQuaternion{Float64} with indices SOneTo(3)×SOneTo(3)(0.707107, 0.0, 0.0, 0.707107):0.0-1.00.01.00.00.00.00.01.0
julia>-q
3×3 StaticArrays.SMatrix{3, 3, Float64, 9} with indices SOneTo(3)×SOneTo(3):-0.01.0-0.0-1.0-0.0-0.0-0.0-0.0-1.0
UnitQuaternion is a matrix rather than quaternion, so -q should be SMatrix.
This naming is confusing, so UnitQuaternion will be renamed QuatRotation. (#171 (comment))
The problem here is that
q
and-q
are represented by the same 3x3 rotation matrix, but in terms of quaternion math ops,q
should not equalq
.I'm thinking that the quaternion math should take precedent here, and thus
q
should not equal-q
The text was updated successfully, but these errors were encountered: