MOVERIO Pro Developer's Guide (Rev.1.4)
117
7.2.
Using the sensor
The sensor uses the standard Android API, SensorEventListener. The following lists the available
sensor types and usage examples.
7.2.1.
Sensor type
The BT-2000 can use the following sensors. The following sensor types are also defined in the
Android Sensor class.
Sensor type
ID (Hex)
Constant name
IMU
Accelerometer
0x00000001
TYPE_ACCELEROMETER
Gyroscope
0x00000004
TYPE_GYROSCOPE
Geomagnetic sensor
Geomagnetic sensor
0x00000002
TYPE_MAGNETIC_FIELD
ALS
Sensor Illumination
0x00000005
TYPE_LIGHT
Others
Tap detection
0x00002001
TYPE_HEADSET_TAP
Azimuth detection
0x00000003
TYPE_ORIENTATION
* You can acquire the above from the Android Sensor class.
7.2.2.
Import module
To use sensors, import below module.
android.hardware.Sensor
android.hardware.SensorEvent
android.hardware.SensorEventListener
Содержание Moverio Pro BT-2000
Страница 7: ...MOVERIO Pro Developer s Guide Rev 1 4 1 1 Introduction ...
Страница 12: ...MOVERIO Pro Developer s Guide Rev 1 4 6 2 Developing Apps ...
Страница 30: ...MOVERIO Pro Developer s Guide Rev 1 4 24 3 Display control ...
Страница 39: ...MOVERIO Pro Developer s Guide Rev 1 4 33 4 UI control ...
Страница 47: ...MOVERIO Pro Developer s Guide Rev 1 4 41 5 Voice commands ...
Страница 70: ...MOVERIO Pro Developer s Guide Rev 1 4 64 6 Camera control ...
Страница 119: ...MOVERIO Pro Developer s Guide Rev 1 4 113 7 Sensor control ...
Страница 127: ...MOVERIO Pro Developer s Guide Rev 1 4 121 8 Bluetooth BLE ...
Страница 184: ...MOVERIO Pro Developer s Guide Rev 1 4 178 9 Power control ...
Страница 187: ...MOVERIO Pro Developer s Guide Rev 1 4 181 10 Self diagnostic function ...
Страница 191: ...MOVERIO Pro Developer s Guide Rev 1 4 185 11 GPS Assist ...
Страница 202: ...MOVERIO Pro Developer s Guide Rev 1 4 196 Memo ...