Model is unstable at pi/2

asked 2017-07-19 11:15:45 -0500

leEngineer gravatar image

When my UAV rotate pi/2 in the perspective of the inertial reference frame, it get unstable.

The message structure I use is from the Euler rotation. Does it have some kind of singularity? There is some way to avoid it?

best regards,

edit retag flag offensive close merge delete

Comments

1

You could try using quaternions

chapulina gravatar imagechapulina ( 2017-07-19 12:06:51 -0500 )edit

I see that it's not singularity. It's because the angle changes. I am guessing is something like 0 to pi. thx

leEngineer gravatar imageleEngineer ( 2017-07-20 20:57:58 -0500 )edit

I have the same problem, around pitch = +-pi/2 the model flips (roll: 0 -> pi->0, yaw: 0 ->pi -> 0). How did you resolve it?

hronoses gravatar imagehronoses ( 2023-06-02 08:12:04 -0500 )edit