Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use android hardware 28: TYPE_POSE_6DOF #10

Open
enzoescipy opened this issue Nov 5, 2020 · 2 comments
Open

Can't use android hardware 28: TYPE_POSE_6DOF #10

enzoescipy opened this issue Nov 5, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@enzoescipy
Copy link

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 enzoescipy added the bug Something isn't working label Nov 5, 2020
@sleichu2
Copy link

sleichu2 commented Dec 4, 2020

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

@enzoescipy
Copy link
Author

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants