简体   繁体   English

有没有办法在Windows Phone设备中校准陀螺仪/指南针/加速度计?

[英]Is there any way to calibrate the Gyroscope/Compass/Accelerometer in Windows Phone devices?

I'm trying to use GART ( http://gart.codeplex.com/ ) on a Windows Phone project and it requires the use of the Gyroscope. 我正在尝试在Windows Phone项目中使用GART( http://gart.codeplex.com/ ),它需要使用陀螺仪。

Most of the times i feel the gyroscope isn't calibrated and it shows a wrong result. 大多数时候我觉得陀螺仪没有校准,显示错误的结果。

Is there a way to calibrate the Gyroscope/Compass/Accelerometer in a Windows Phone? 有没有办法在Windows Phone中校准陀螺仪/指南针/加速度计? Is there a way to know (programatically) if these sensors are not calibrated? 有没有办法知道(编程)这些传感器是否未校准?

Thank you in advance. 先感谢您。

Yes there is, use the HeadingAccuracy 是的,使用HeadingAccuracy

for more information: http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202974(v=vs.105).aspx 有关更多信息: http//msdn.microsoft.com/en-us/library/windowsphone/develop/hh202974(v = vs.105).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM