以下均为简单笔记,如有错误,请多多指教。

  1. 验证旋转矩阵是正交矩阵。
    证:如公式(3.5)所示
    R=[e1Te2Te3T][e1e2e3] R= \begin{bmatrix} e_1^T \\ e_2^T \\ e_3^T \end{bmatrix} \begin{bmatrix} e_1^{'} e_2^{'} e_3^{'} \end{bmatrix}
    考虑到
    [e1Te2Te3T][e1Te2Te3T]=I,[e1e2e3][e1Te2Te3T]=I \begin{bmatrix} e_1^T \\ e_2^T \\ e_3^T \end{bmatrix} \begin{bmatrix} e_1^T e_2^T e_3^T \end{bmatrix}=I, \begin{bmatrix} e_1^{'} e_2^{'} e_3^{'} \end{bmatrix} \begin{bmatrix} e_1^{'T} e_2^{'T} e_3^{'T} \end{bmatrix}=I
    则不难发现RRT=RTR=IRR^T=R^TR=I
  2. 寻找罗德里格斯公式的推导过程并加以理解。
    证:
    SLAM从入门到放弃:SLAM十四讲第三章习题
    如上图(图片来源 Computer Vision: Algorithm and Application)所示假定旋转轴为n^\hat{n}θ\theta为旋转角度,v,uv,u为旋转前后的变量,即u=Rvu=Rv,证明
    R=cosθI+(1cosθ)nnT+sinθn3.14 R=cos\theta I+(1-cos\theta)nn^T+sin\theta n^{\land}(见公式3.14)
    首先不难发现,
    v=n^(n^v)=n^n^Tv v_{||}=\hat{n}(\hat{n}\bullet v)=\hat{n}\hat{n}^Tv

    v=vv=(In^n^T)v v_{\perp}=v-v_{||}=(I-\hat{n}\hat{n}^T)v
    进一步可以得到
    v×=n^×v=nv v_{\times}=\hat{n} \times v = n^{\land} v
    于此同时,
    u=cosθv+sinθv× u_{\perp} = cos\theta v_{\perp} + sin\theta v_{\times}
    又因为(原因是u,vu,v都是单位向量)
    u=v u_{||} = v_{||}
    整理上述所有公式可以得到:
    u=u+u=cosθv+sinθv×+v u = u_{\perp} + u_{||} = cos\theta v_{\perp} + sin\theta v_{\times} + v_{||}
    整理后得到
    u=cosθ(In^n^T)v+sinθnv+n^n^Tv=(cosθI+(1cosθ)n^n^T+sinθn)v u = cos\theta (I-\hat{n}\hat{n}^T)v + sin\theta n^{\land} v + \hat{n}\hat{n}^Tv = ( cos\theta I + (1-cos\theta)\hat{n}\hat{n}^T+sin\theta n^{\land})v
    得证。
  3. 验证四元数旋转某个点后,结果是一个虚四元数,所有仍然对应到一个三维空间点。
    证:
    记点p=[0,v]p=[0,v],四元数为q=[cosθ2,nsinθ2]q=[cos\frac{\theta}{2},nsin\frac{\theta}{2}],则q1=[cosθ2,nsinθ2]q^{-1}=[cos\frac{\theta}{2},-nsin\frac{\theta}{2}]
    首先计算
    qp=[cosθ20sinθ2nTv,cosθ2v+sinθ2n×v] qp=[cos\frac{\theta}{2}*0-sin\frac{\theta}{2}n^Tv,cos\frac{\theta}{2}v+sin\frac{\theta}{2}n_{\times}v]
    然后计算(qp)q1(qp)q^{-1}的实部:
    sinθ2nTvcosθ2(cosθ2v+sinθ2n×v)T(nsinθ2) -sin\frac{\theta}{2}n^Tv*cos\frac{\theta}{2}-(cos\frac{\theta}{2}v+sin\frac{\theta}{2}n_{\times}v)^T*(-nsin\frac{\theta}{2})
    由于n×n_{\times}是反对称矩阵,即n×T=n×n_{\times}^T=-n_{\times};并且明显可知n×n=0n_{\times}n=0
    sinθ2cosθ2nTv+sinθ2cosθ2vTn+sinθ2sinθ2vTn×n -sin\frac{\theta}{2}cos\frac{\theta}{2}n^Tv+sin\frac{\theta}{2}cos\frac{\theta}{2}v^Tn+sin\frac{\theta}{2}sin\frac{\theta}{2}v^Tn_{\times}n
    上式在此简化后可得到,由于vTnv^TnvTnv^Tn都是标量,因此nTv=vTnn^Tv=v^Tn
    sinθ2cosθ2(vTnvTn)=0 sin\frac{\theta}{2}cos\frac{\theta}{2}(v^Tn-v^Tn)=0
    得证。

相关文章:

  • 2021-06-29
  • 2021-09-14
  • 2021-04-24
  • 2021-12-05
  • 2021-12-08
  • 2021-07-25
  • 2021-12-27
  • 2022-12-23
猜你喜欢
  • 2021-04-08
  • 2021-10-25
  • 2021-10-24
  • 2021-11-26
  • 2021-07-05
  • 2021-11-22
  • 2021-05-14
相关资源
相似解决方案