flutter_android
flutter_android copied to clipboard
Can't use android hardware 28: TYPE_POSE_6DOF
Describe the bug other sensors work really well as example shows, however, if I use TYPE_POSE_6DOF, the SensorManager.getDefaultSensor can't get Sensor instance.
To reproduce Steps to reproduce the behavior:
- Go to 'examples Heart-rate monitoring '
- Change TYPE_HEART_RATE to TYPE_POSE_6DOF.
- Run it.
- See error, the variable sensor is 'null'
Expected behavior hope to use TYPE_POSE_6DOF
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
Smartphone (please complete the following information):
- Device: Pixel 2 (emulated by Android studio)
- OS: [SDK 28]
I also encountered the same problem, did you have any idea.
Just...make it your self. I failed to make it whatever.
Find the complementary filter and kalman filter, if you want...