可用的Android设备传感器列表 [英] Available Android device sensors list
问题描述
我的手机有传感器的下面的列表:
My phone has the following list of sensors:
BMA150 3-axis Accelerometer, Type: 0, Vendor: The Android Open Source Project, Version: 1, Power: 3.0, Resolution: 2.480159E-4, Max Range: 2.8
AK8973 3-axis Magnetic field sensor, Type: 0, Vendor: The Android Open Source Project, Version: 1, Power: 6.7, Resolution: 1.0, Max Range: 2000.0
AK8973 Orientation sensor, Type: 0, Vendor: The Android Open Source Project, Version: 1, Power: 9.7, Resolution: 1.0, Max Range: 360.0
APDS9900 Proximity sensor, Type: 8, Vendor: AVAGO, Version: 1, Power: 0.5, Resolution: 1.0, Max Range: 1.0
APDS Light sensor, Type: 5, Vendor: AVAGO, Version: 1, Power: 0.5, Resolution: 1.0, Max Range: 10240.0
MPL rotation vector, Type: 11, Vendor: Invensense, Version: 1, Power: 0.5, Resolution: 1.0, Max Range: 10240.0
MPL linear accel, Type: 10, Vendor: Invensense, Version: 1, Power: 0.5, Resolution: 1.0, Max Range: 10240.0
MPL gravity, Type: 9, Vendor: Invensense, Version: 1, Power: 0.5, Resolution: 1.0, Max Range: 10240.0
MPL Gyro, Type: 4, Vendor: Invensense, Version: 1, Power: 0.5, Resolution: 1.0, Max Range: 10240.0
MPL accel, Type: 1, Vendor: Invensense, Version: 1, Power: 0.5, Resolution: 1.0, Max Range: 10240.0
MPL magnetic field, Type: 2, Vendor: Invensense, Version: 1, Power: 0.5, Resolution: 1.0, Max Range: 10240.0
MPL Orientation (android deprecated format), Type: 3, Vendor: Invensense, Version: 1, Power: 9.7, Resolution: 1.0, Max Range: 360.0
这我不知道,为什么有两个传感器,加速度计,两个磁性和两个方向感应器从中活跃的一个是德precated?
of this I wonder, why are there two sensors for the accelerometer, two magnetic and two orientation sensors from which the active one is deprecated?
做这些休眠的传感器有什么功能?
Does these dormant sensors has any function?
谢谢,
亚当Zehavi。
推荐答案
我强烈建议只使用标准的Android传感器,如
I strongly advise to use only standard Android sensors like
旋转矢量传感器,
重力感应器,
线性加速度传感器,
方向传感器
Rotation Vector Sensor, Gravity Sensor, Linear Acceleration Sensor, Orientation Sensor
和未对MPL类型。该MPL类型是从Invensense公司部分特定的非标准功能,不会对其他手机。
and not the MPL types. The MPL types are component specific non-standard functions from Invensense that will not work on other phones.
另外,我尝试了我的Galaxy Nexus的两种类型,发现上面列出的标准Android传感器提供更好的传感器数据融合效果比MPL类型。
例如。旋转矢量传感器补偿磁场扭曲更好的MPL旋转矢量。
Also, I tried out both types on my Galaxy Nexus and found that the above listed standard Android sensors provide better sensor data fusion results than the MPL types. E.g. the Rotation Vector Sensor compensates magnetic distortions better that the MPL rotation vector.
这篇关于可用的Android设备传感器列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!