使用android手机陀螺仪传感器获得手机自身旋转的角度

上传者: dengfengdeling | 上传时间: 2019-12-21 19:38:52 | 文件大小: 2.38MB | 文件类型: rar
得到手机的陀螺仪采集到的角速率数据,然后转化为相对于初始位置旋转的角度。陀螺仪使用一段时间后会产生误差,本例未对误差进行处理,不过貌似可以用卡尔曼滤波算法消除误差,但是我不会。

文件下载

资源详情

[{"title":"( 67 个子文件 2.38MB ) 使用android手机陀螺仪传感器获得手机自身旋转的角度","children":[{"title":"MagneticSensorDemo","children":[{"title":".project <span style='color:#111;'> 854B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"magneticsensordemo","children":[{"title":"MainActivity.java <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 331B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 433B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 689B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 381B </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 388B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"magneticsensordemo","children":[{"title":"BuildConfig.java <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 178.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R.java <span style='color:#111;'> 40.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 740.94KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 377.19KB </span>","children":null,"spread":false},{"title":"R.txt <span style='color:#111;'> 30.06KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"magneticsensordemo","children":[{"title":"R$layout.class <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 9.43KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 369B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 769B </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 635B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 600B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 6.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R$layout.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 9.36KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 763B </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1015B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"appcompat_v7-2889760662f27f1897021cc9004621bb.jar <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"android-support-v4-882493d48e09633ca90a7c7adf9119e1.jar <span style='color:#111;'> 267.35KB </span>","children":null,"spread":false},{"title":"android-support-v7-appcompat-1f23f640d83e76a6cbf1ab68103a3649.jar <span style='color:#111;'> 147.04KB </span>","children":null,"spread":false},{"title":"annotations-06d845c7c56427b837a7ef31a3a7a9b9.jar <span style='color:#111;'> 910B </span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'> 1.56MB </span>","children":null,"spread":false},{"title":"MagneticSensorDemo.apk <span style='color:#111;'> 813.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • Helianthus_xiatian :
    哎 没什么用 浪费积分
    2020-09-07
  • weixin_38890840 :
    apk为啥安装了不能用
    2019-04-03
  • autowanglei :
    很好,多谢分享学习学习
    2019-01-30
  • 籍籍无名的少年 :
    同学毕设参考了一下啊,感觉还是有参考价值的
    2018-12-20
  • hummingbird_yzh :
    好东西,学到了不少,后来又加上了google的cardboard库才搞定
    2018-12-13

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明