【问题标题】:How to combine gyroscope, acceleration of gravity, magnetometer to achieve the rotation of the picture? [closed]如何结合陀螺仪、重力加速度、磁力计来实现图片的旋转? [关闭]
【发布时间】:2014-05-20 09:16:00
【问题描述】:

如何结合陀螺仪、重力加速度、磁力计在android中实现图片的旋转?

【问题讨论】:

    标签: android gyroscope hardware-acceleration magnetometer


    【解决方案1】:

    您可以单独使用加速度计, 这些是我收到的加速度值:

    景观模式:

    沿 X 轴:8

    沿 Y 轴:0

    Potriat 模式

    沿 X 轴:0

    沿 Y 轴:8

    这些数据可以提供帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-11-14
      • 1970-01-01
      • 2011-07-15
      • 2017-04-11
      • 2017-05-30
      • 1970-01-01
      • 1970-01-01
      • 2016-05-05
      相关资源
      最近更新 更多