AHeadTrackerEvent

Summary

Public attributes

discontinuity_count
int32_t
This value changes each time the reference frame is suddenly and significantly changed, for example if an orientation filter algorithm used for determining the orientation has had its state reset.
rx
float
The fields rx, ry, rz are an Euler vector (rotation vector, i.e.
ry
float
rz
float
vx
float
The fields vx, vy, vz are an Euler vector (rotation vector) representing the angular velocity of the head (relative to itself), in radians per second.
vy
float
vz
float

Public attributes

discontinuity_count

Declared in android/sensor.h
int32_t AHeadTrackerEvent::discontinuity_count

This value changes each time the reference frame is suddenly and significantly changed, for example if an orientation filter algorithm used for determining the orientation has had its state reset.

rx

Declared in android/sensor.h
float AHeadTrackerEvent::rx

The fields rx, ry, rz are an Euler vector (rotation vector, i.e.

a vector whose direction indicates the axis of rotation and magnitude indicates the angle to rotate around that axis) representing the transform from the (arbitrary, possibly slowly drifting) reference frame to the head frame. Expressed in radians. Magnitude of the vector must be in the range [0, pi], while the value of individual axes are in the range [-pi, pi].

ry

Declared in android/sensor.h
float AHeadTrackerEvent::ry

rz

Declared in android/sensor.h
float AHeadTrackerEvent::rz

vx

Declared in android/sensor.h
float AHeadTrackerEvent::vx

The fields vx, vy, vz are an Euler vector (rotation vector) representing the angular velocity of the head (relative to itself), in radians per second.

The direction of this vector indicates the axis of rotation, and the magnitude indicates the rate of rotation.

vy

Declared in android/sensor.h
float AHeadTrackerEvent::vy

vz

Declared in android/sensor.h
float AHeadTrackerEvent::vz