flutter_android icon indicating copy to clipboard operation
flutter_android copied to clipboard

Can't use android hardware 28: TYPE_POSE_6DOF

Open enzoescipy opened this issue 5 years ago • 2 comments

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:

  1. Go to 'examples Heart-rate monitoring '
  2. Change TYPE_HEART_RATE to TYPE_POSE_6DOF.
  3. Run it.
  4. 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]

enzoescipy avatar Nov 05 '20 14:11 enzoescipy

I also encountered the same problem, did you have any idea.

sleichu2 avatar Dec 04 '20 09:12 sleichu2

Just...make it your self. I failed to make it whatever.

Find the complementary filter and kalman filter, if you want...

enzoescipy avatar Dec 04 '20 09:12 enzoescipy