MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

Fix quaternion gimbal lock

Open vr4guid opened this issue 6 months ago • 3 comments

fix _dcm_to_euler calculation when pitch is -pi/2

vr4guid avatar Jun 02 '25 20:06 vr4guid

all my sources indicate it was correct before this change.

meee1 avatar Sep 06 '25 13:09 meee1

This corrected the issue on our side.

vr4guid avatar Oct 23 '25 17:10 vr4guid

This corrected the issue on our side.

How? Isn't this a non-functional change? phi is set to 0 in the previous line. Now, that raises the question of what the - phi and + phi were ever doing in these two places to begin with, but this change can't possibly have done anything, unless I'm gravely mistaken (and I might well be; I keep reading it over and over).

robertlong13 avatar Oct 26 '25 02:10 robertlong13