简体   繁体   English

如何从Android中的加速度计和磁力计中检索位置

[英]how to retrieve location from accelerometer and magnetometer in android

我想从android设备中的加速度计和磁力计中获取位置和速度,目前可以从加速度计中获取速度,但是如何同时使用速度传感器和地磁场将其与磁力计传感器中的位置相关联?

This question comes up surprisingly often . 这个问题经常出人意料

You cannot get accurate location or even velocity, but here are tips what you actually could do instead . 您无法获得准确的位置甚至速度,但是这里有一些提示,实际上可以代替您进行操作

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

相关问题 如何从加速度计和磁力计传感器计算android中的旋转矩阵 - How to calculate Rotation Matrix in android from accelerometer and magnetometer sensor 如何在Android中获取原始加速度计和磁力计数据? - How to get raw accelerometer and Magnetometer data in Android? 加速度计和磁力计的Android Tilt问题 - Android Tilt issue with Accelerometer and Magnetometer Android加速度计和磁力计同时读取 - Android Accelerometer and Magnetometer readings simultaneously 加速度计和磁力计的俯仰,横滚和偏航 - Pitch, roll and yaw from accelerometer and magnetometer 不同的传感器(磁力计,加速度计)如何工作以制作指南针-Android(Java) - How does different sensor(magnetometer, accelerometer) work to make compass - Android (Java) Android上的Accelerometer,Gyro和Magnetometer之间的样本数量不均匀 - Uneven number of samples between Accelerometer, Gyro and Magnetometer on Android 如何在同一Java类中将两个传感器管理器用于加速度计和磁力计 - How to use Two Sensor Manager for Accelerometer and Magnetometer in the same Java class 如何在Android中使用磁力计查找磁场强度 - How to find MagneticField Strength using magnetometer in android 如何根据android中的用户位置从Firebase数据库中检索数据? - How to retrieve data from Firebase database based on user location in android?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM