Jump to content

[Native] How to get VIVE Tracker pose


Vivi Wu

Recommended Posts

To get VIVE Tracker pose for Native support.

Download the sample code and follow the following steps.

Sample code : helloTrackerNotifyDS.cpp

Follow the steps to get tracker pose:

  1. Set up feature in AndroidManifest.xml of app
    image.jpeg.bf13ad288feb7863a469e9d48172db20.jpeg
  2. Define global variables
    image.png.29854c54418be026f9f838f08f5efd08.png
  3. If tracker feature is supported, call function WVR_StartTracker() to start tracker feature at the initial stage of app.
    image.jpeg.f057ade4b80a2a8e472f69a7a0157a38.jpeg
  4. If the connected event has been received,
    1. check tracker capabilities to know what capability is supported.
    2. If battery capability is supported, first get battery level of trackerimage.thumb.png.ff71337996d5a1e94b37dadff1e96282.png
  5. Other tracker related event
    image.thumb.png.aea3e1baf4b07f0e447216848d1b4806.png
  6. Continuously get pose data
    image.thumb.jpeg.ee6437e1b5c8803af912060d26d519e1.jpeg
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...