Skip to content

Can't use android hardware 28: TYPE_POSE_6DOF #10

Open
@enzoescipy

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]

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