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_GBD
 WND/GBD rotation unit quaternion. More...
 
T5_Vec3 posAim_GBD
 Position (Aim Point) - Vector3f. More...
 
T5_Vec3 posFingertips_GBD
 Position (Fingertips) - Vector3f. More...
 
T5_Vec3 posGrip_GBD
 Position (Grip) - Vector3f. More...
 
T5_Hand hand
 Wand hand. More...
 

Detailed Description

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

Definition at line 346 of file types.h.

Field Documentation

◆ a

bool T5_WandReport::a

Definition at line 378 of file types.h.

◆ analogValid

bool T5_WandReport::analogValid

Validity of analog parameters. True = valid.

Definition at line 351 of file types.h.

Referenced by operator<<().

◆ b

bool T5_WandReport::b

Definition at line 379 of file types.h.

◆ battery

uint8_t T5_WandReport::battery

Battery.

Definition at line 370 of file types.h.

◆ batteryValid

bool T5_WandReport::batteryValid

Validity of battery parameters. True = valid.

Definition at line 354 of file types.h.

◆ buttonsValid

bool T5_WandReport::buttonsValid

Validity of button parameters. True = valid.

Definition at line 357 of file types.h.

Referenced by operator<<().

◆ hand

T5_Hand T5_WandReport::hand

Wand hand.

Definition at line 400 of file types.h.

◆ one

bool T5_WandReport::one

Definition at line 375 of file types.h.

◆ posAim_GBD

T5_Vec3 T5_WandReport::posAim_GBD

Position (Aim Point) - Vector3f.

Definition at line 391 of file types.h.

◆ poseValid

bool T5_WandReport::poseValid

Validity of pose parameters. True = valid.

Definition at line 360 of file types.h.

Referenced by operator<<().

◆ posFingertips_GBD

T5_Vec3 T5_WandReport::posFingertips_GBD

Position (Fingertips) - Vector3f.

Definition at line 394 of file types.h.

◆ posGrip_GBD

T5_Vec3 T5_WandReport::posGrip_GBD

Position (Grip) - Vector3f.

Definition at line 397 of file types.h.

Referenced by operator<<().

◆ rotToWND_GBD

T5_Quat T5_WandReport::rotToWND_GBD

WND/GBD rotation unit quaternion.

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

Definition at line 388 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 366 of file types.h.

Referenced by operator<<().

◆ t5

bool T5_WandReport::t5

Definition at line 374 of file types.h.

◆ three

bool T5_WandReport::three

Definition at line 377 of file types.h.

◆ timestampNanos

uint64_t T5_WandReport::timestampNanos

The timestamp of the wand event in nanoseconds.

Definition at line 348 of file types.h.

◆ trigger

float T5_WandReport::trigger

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

Definition at line 363 of file types.h.

Referenced by operator<<().

◆ two

bool T5_WandReport::two

Definition at line 376 of file types.h.

◆ x

bool T5_WandReport::x

Definition at line 380 of file types.h.

◆ y

bool T5_WandReport::y

Definition at line 381 of file types.h.


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