Skip to content

How do I set headset.position = viveTracker.position? #1109

@offchan42

Description

@offchan42

In this SteamVR panel, there are 2 drivers: the driver for the headset and the built-in driver for the Vive tracker.
image

The headset is simply a phone with gyroscope, so it doesn't have a position tracking solution. It only have rotation. I want to physically attach the Vive tracker to the headset and set the headset's position = the tracker's position + offset.

I have 2 solutions in mind:

  1. Access Vive tracker position and continuously set headset's position = tracker + offset.
  2. Write a driver for both headset and tracker to merge them together. This means only one icon will be shown in the SteamVR panel.
    I prefer the 2nd solution to be working more. How do I achieve this?

How do I access the position of the tracker and then also disable it from appearing in the panel? (Which means no apps will be able to find the tracker anymore)
Any links/tutorials/resources would be appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions