Tilt Five NDK
T5_WandReport Struct Reference

Contains wand related information (Pose, Buttons, Trigger, Stick, Battery) More...

#include <types.h>

Collaboration diagram for T5_WandReport:

Data Fields

uint64_t timestampNanos
 The timestamp of the wand event in nanoseconds. More...
 
bool analogValid
 Validity of analog parameters. True = valid. More...
 
bool batteryValid
 Validity of battery parameters. True = valid. More...
 
bool buttonsValid
 Validity of button parameters. True = valid. More...
 
bool poseValid
 Validity of pose parameters. True = valid. More...
 
float trigger
 Trigger - Analog, Range [0.0 - 1.0], 1.0 = Fully depressed. More...
 
T5_Vec2 stick
 Stick (X/Y) - Analog, Range [-1.0 - 1.0], 0 = Centered, 1.0 = Top/Right. More...
 
uint8_t battery
 Battery. More...
 
struct {
   bool   t5
 
   bool   one
 
   bool   two
 
   bool   three
 
   bool   a
 
   bool   b
 
   bool   x
 
   bool   y
 
buttons
 Buttons state. True = Pressed.
 
T5_Quat rotToWND_STAGE
 WND/STAGE rotation unit quaternion. More...
 
T5_Vec3 posAim_STAGE
 Position (Aim Point) - Vector3f. More...
 
T5_Vec3 posFingertips_STAGE
 Position (Fingertips) - Vector3f. More...
 
T5_Vec3 posGrip_STAGE
 Position (Grip) - Vector3f. More...
 
T5_Hand hand
 Wand hand. More...
 

Detailed Description

Contains wand related information (Pose, Buttons, Trigger, Stick, Battery)

Definition at line 600 of file types.h.

Field Documentation

◆ a

bool T5_WandReport::a

Definition at line 632 of file types.h.

◆ analogValid

bool T5_WandReport::analogValid

Validity of analog parameters. True = valid.

Definition at line 605 of file types.h.

Referenced by operator<<().

◆ b

bool T5_WandReport::b

Definition at line 633 of file types.h.

◆ battery

uint8_t T5_WandReport::battery

Battery.

Definition at line 624 of file types.h.

◆ batteryValid

bool T5_WandReport::batteryValid

Validity of battery parameters. True = valid.

Definition at line 608 of file types.h.

◆ buttonsValid

bool T5_WandReport::buttonsValid

Validity of button parameters. True = valid.

Definition at line 611 of file types.h.

Referenced by operator<<().

◆ hand

T5_Hand T5_WandReport::hand

Wand hand.

Definition at line 654 of file types.h.

◆ one

bool T5_WandReport::one

Definition at line 629 of file types.h.

◆ posAim_STAGE

T5_Vec3 T5_WandReport::posAim_STAGE

Position (Aim Point) - Vector3f.

Definition at line 645 of file types.h.

◆ poseValid

bool T5_WandReport::poseValid

Validity of pose parameters. True = valid.

Definition at line 614 of file types.h.

Referenced by operator<<().

◆ posFingertips_STAGE

T5_Vec3 T5_WandReport::posFingertips_STAGE

Position (Fingertips) - Vector3f.

Definition at line 648 of file types.h.

◆ posGrip_STAGE

T5_Vec3 T5_WandReport::posGrip_STAGE

Position (Grip) - Vector3f.

Definition at line 651 of file types.h.

Referenced by operator<<().

◆ rotToWND_STAGE

T5_Quat T5_WandReport::rotToWND_STAGE

WND/STAGE rotation unit quaternion.

The rotation unit quaternion that takes points from the STAGE reference frame to the WND (wand) reference frame orientation.

Definition at line 642 of file types.h.

Referenced by operator<<().

◆ stick

T5_Vec2 T5_WandReport::stick

Stick (X/Y) - Analog, Range [-1.0 - 1.0], 0 = Centered, 1.0 = Top/Right.

Definition at line 620 of file types.h.

Referenced by operator<<().

◆ t5

bool T5_WandReport::t5

Definition at line 628 of file types.h.

◆ three

bool T5_WandReport::three

Definition at line 631 of file types.h.

◆ timestampNanos

uint64_t T5_WandReport::timestampNanos

The timestamp of the wand event in nanoseconds.

Definition at line 602 of file types.h.

◆ trigger

float T5_WandReport::trigger

Trigger - Analog, Range [0.0 - 1.0], 1.0 = Fully depressed.

Definition at line 617 of file types.h.

Referenced by operator<<().

◆ two

bool T5_WandReport::two

Definition at line 630 of file types.h.

◆ x

bool T5_WandReport::x

Definition at line 634 of file types.h.

◆ y

bool T5_WandReport::y

Definition at line 635 of file types.h.


The documentation for this struct was generated from the following file: