Skip to content

Can't use android hardware 28: TYPE_POSE_6DOF #10

Description

@enzoescipy

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions