cheneydog
V2EX  ›  问与答

我想获取手机在空间中的运动轨迹,有没有现成的例子?

  •  
  •   cheneydog · Oct 16, 2019 · 1860 views
    This topic created in 2404 days ago, the information mentioned may be changed or developed.
    我想获取手机在空间中的运动轨迹,有没有现成的例子?
    devicemotion 事件如何用?
    3 replies    2019-10-16 18:42:42 +08:00
    codehz
        1
    codehz  
       Oct 16, 2019
    (理论上就是对加速度传感器进行两次积分(但是我猜测误差应该不小
    umm 还需要考虑旋转,误差++
    poporange630
        2
    poporange630  
       Oct 16, 2019 via iPhone
    手机加速度传感器和陀螺仪的精度无法直视
    yukiww233
        3
    yukiww233  
       Oct 16, 2019
    试试加速器传感器结合 ar 做?可以从静态物体三维坐标变化来推算相机坐标
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2924 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 06:47 · PVG 14:47 · LAX 23:47 · JFK 02:47
    ♥ Do have faith in what you're doing.