VIVE Tracker (3.0)
HTC Corporation
Developer Guidelines
V1.0
12/16/2020
24
HTC Confidential and Proprietary
For Pogo out pin signal duration:
VIVE Tracker (3.0) receives haptic input value from the content, while the Pogo out pin will
output HIGH with the duration value in “ms”.
This section describes information on position transformation between an accessory and
VIVE Tracker (3.0). Content developers can create the correct rotation and translation result
of the content used with the attached accessory in a game engine such as Unity.
It is assumed that the local coordinate system of the accessory is that z-axis is facing the
front (left-handed coordinate system), and VIVE Tracker (3.0) is attached in the accessory as
in the example below. Rotation degree and translation distance of an accessory relevant to
VIVE Tracker (3.0) are described in roll, yaw, pitch and D
x
, D
y
, D
z
respectively during the
integration.
After the center of an accessory has been decided during the design, the following degrees
and distance of an accessory based on actual integration condition can be measured. For
detailed information regarding the center of the VIVE Tracker (3.0), refer to guidelines related
to the hardware and mechanical design.
char buffer[64];
char *p_buffer = buffer;
unsigned int buffer_size = sizeof(buffer);
memset( (void *)p_buffer, 0, buffer_size );
p_buffer[0] = 0xB3; // Command
p_buffer[1] = 0x03; // Size of Data
p_buffer[2] = 0x03; // Host Type: ACCESSORY
p_buffer[3] = 0x01;
p_buffer[4] = 0x01;
// STM API
USBH_HID_SetReport(
handle,
0x03, // Feature Report
0,
(uint8_t *)p_buffer,
buffer_size );