坐标系的旋转与欧拉角

坐标系的旋转与欧拉角

Definition

欧拉角

先绕z轴旋转α角,再绕x’旋转β角,最后绕z”旋转γ角,这组欧拉角被称为”zxz顺规”,以下结论均采用此顺序。
The Euler angles are three angles introduced by Leonhard Euler to describe the orientation of a rigid body with respect to a fixed coordinate system.[1] They can also represent the orientation of a mobile frame of reference in physics or the orientation of a general basis in 3-dimensional linear algebra.

三维空间的刚体绕定点旋转。

Euler angles are typically denoted as α,β,γ,or φ,θ,ψ

Tait–Bryan angles are also called Cardan angles; nautical angles; heading, elevation, and bank; or yaw(偏航角), pitch(俯仰角), and roll(横滚角). Sometimes, both kinds of sequences are called “Euler angles”. In that case, the sequences of the first group are called proper or classic Euler angles.

Geometrical definition

The axes of the original frame are denoted as x,y,z and the axes of the rotated frame as X,Y,Z. The geometrical definition (sometimes referred to as static) begins by defining the line of nodes as the intersection of the planes xy and XY (it can also be defined as the common perpendicular(公垂线) to the axes z and Z and then written as the vector product N=z×Z ). Using it, the three Euler angles can be defined as follows:

  • α or φ is the angle between the x axis and the N axis (x-convention - it could also be defined between y and N, called y-convention).
  • β or θ is the angle between the z axis and the Z axis.
  • γ or ψ is the angle between the N axis and the X axis (x-convention).
    Euler angles between two reference frames are defined only if both frames have the same handedness(手性).

Definition by intrinsic(本质的) rotation

Intrinsic rotations are elemental rotations that occur about the axes of a coordinate system XYZ attached to a moving body. Therefore, they change their orientation after each elemental rotation. The XYZ system rotates, while xyz is fixed. Starting with XYZ overlapping xyz, a composition of three intrinsic rotations can be used to reach any target orientation for XYZ.

  • x-y-z, or x0-y0-z0 (initial)
  • x’-y’-z’, or x1-y1-z1 (after first rotation)
  • x″-y″-z″, or x2-y2-z2 (after second rotation)
  • X-Y-Z, or x3-y3-z3 (final)

Signs and ranges

  • for α and γ, the range is defined modulo 2π radians. For instance, a valid range could be [−π, π).
  • for β, the range covers π radians (but can’t be said to be modulo π). For example, it could be [0, π] or [−π/2, π/2].

矩阵表示

定义三个旋转矩阵

Rx(θ)=1000cosθsinθ0sinθcosθ

Ry(θ)=cosθ0sinθ010sinθ0cosθ

Rz(θ)=cosθsinθ0sinθcosθ0001

点变换

分别表示绕 x,y,z 轴旋转 θ
旋转之前在 Oxyz 的坐标 a=(x,y,z)T
旋转之后在 Oxyz 的坐标 a=(x,y,z)T ,有

a=Rz(α)Rx(β)Rz(γ)a

坐标变换

基变换: e=eRz(α)Rx(β)Rz(γ) ,故

设一点在旧坐标系的坐标为a,在新坐标系的坐标为A,则

a=Rz(α)Rx(β)Rz(γ)A

手机坐标系

第一个角度:Azimuth 方位角
手机的偏航角定义为方位角A(Azimuth) [0,2π) ,从y轴顺时针旋转的角度。
第二个角度:Pitch 俯仰角(degrees of rotation around x axis)
机头向下为正,向上为负。
第三个角度:Roll 横滚角(degrees of rotation around y axis)
绕y轴逆时针为正,顺时针为负。

References

  1. Euler angles, wikipedia
  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值