Stay organized with collections
Save and categorize content based on your preferences.
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
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[],[],null,["# AHeadTrackerEvent Struct Reference\n\nAHeadTrackerEvent\n=================\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [discontinuity_count](#struct_a_head_tracker_event_1a75378404b33e10235e233f01965e3019) | `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. |\n| [rx](#struct_a_head_tracker_event_1af1142dcffb78b6db7c56e8a6264d2848) | `float` The fields rx, ry, rz are an Euler vector (rotation vector, i.e. |\n| [ry](#struct_a_head_tracker_event_1adf2ed833b32410d6504fd0ff83165335) | `float` |\n| [rz](#struct_a_head_tracker_event_1a0014848e0334260615ab245a31ae2bfe) | `float` |\n| [vx](#struct_a_head_tracker_event_1a8d4f2c836a462ca43117ca0a3544eb83) | `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. |\n| [vy](#struct_a_head_tracker_event_1a43ec4fd672c0d206665bd4dfaa85a52d) | `float` |\n| [vz](#struct_a_head_tracker_event_1aaed8f32ad9f859993975ed6946fb7c9f) | `float` |\n\nPublic attributes\n-----------------\n\n### discontinuity_count\n\nDeclared in `android/sensor.h` \n\n```scdoc\nint32_t AHeadTrackerEvent::discontinuity_count\n``` \nThis 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. \n\n### rx\n\nDeclared in `android/sensor.h` \n\n```text\nfloat AHeadTrackerEvent::rx\n``` \nThe fields rx, ry, rz are an Euler vector (rotation vector, i.e.\n\na 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\\]. \n\n### ry\n\nDeclared in `android/sensor.h` \n\n```text\nfloat AHeadTrackerEvent::ry\n``` \n\n### rz\n\nDeclared in `android/sensor.h` \n\n```text\nfloat AHeadTrackerEvent::rz\n``` \n\n### vx\n\nDeclared in `android/sensor.h` \n\n```text\nfloat AHeadTrackerEvent::vx\n``` \nThe fields vx, vy, vz are an Euler vector (rotation vector) representing the angular velocity of the head (relative to itself), in radians per second.\n\nThe direction of this vector indicates the axis of rotation, and the magnitude indicates the rate of rotation. \n\n### vy\n\nDeclared in `android/sensor.h` \n\n```text\nfloat AHeadTrackerEvent::vy\n``` \n\n### vz\n\nDeclared in `android/sensor.h` \n\n```text\nfloat AHeadTrackerEvent::vz\n```"]]