0
$\begingroup$

I am trying write a program capable of converting rotation matrix into euler angles when gimbal lock occurs.

Is it even possible to determine the raw,pitch yaw angles when the matrix contains gimbal lock, and if so how?

$\endgroup$
0
$\begingroup$

This answer explains when gimbal lock occurs: Euler angles and gimbal lock

This answer covers the topic of quaternions, specifically how quaternions avoid the problem of gimbal lock: What is the motivation for quaternions?

It's your choice whether you want your program to remain in the Euler angle world and fudge the gimbal lock problem manually, or whether you want to convert to/from quaternions instead. R has a nice package for converting between rotation matrices, Euler angles, and quaternions: https://cran.r-project.org/web/packages/RSpincalc/index.html

$\endgroup$
  • $\begingroup$ Well the problem here i don't want to look into quaternions, but only euler angles. $\endgroup$ – user25778 Oct 4 '15 at 16:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.