Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uavbook quaternion conversion missing sign assignment #7

Open
qtweng opened this issue Mar 18, 2024 · 0 comments
Open

uavbook quaternion conversion missing sign assignment #7

qtweng opened this issue Mar 18, 2024 · 0 comments

Comments

@qtweng
Copy link

qtweng commented Mar 18, 2024

In appendex B.5 in the uavbook.pdf, it references a method of converting Rotation Matrices to Quaternions from:
S. Sarabandi and F. Thomas, “Accurate computation of quaternions from rotation matrices,” in Advances in Robot Kinematics (J. Lenar- cic and V. Parenti-Castelli, eds.), pp. 39–46, Springer, 2019.
However, it is missing details on inserting the signs for the quaternions as described in "Accurate Computation of Quaternions from Rotation Matrices" on page 5:
"Due to the presence of square roots, the signs of qi, i = 1, . . . , 4 are undefined.
As in other methods where these signs are undefined [2], if we assume that q1 is
positive, then, according to (12), (13), and (14), we have to assign the signs of
r32−r23, r13−r31, and r21−r12, to q2, q3, and q4, respectively."

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

No branches or pull requests

1 participant