Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
uncalibrated_event_t Struct Reference
#include <
sensors.h
>
uncalibrated gyroscope and magnetometer event data
Definition at line
915
of file
sensors.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
sensors.h
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 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: uncalibrated_event_t Struct Reference\n\nuncalibrated_event_t Struct Reference\n=====================================\n\n[Data Fields](#pub-attribs) \nuncalibrated_event_t Struct Reference \n\n`\n#include \u003c\n`[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)`\n\u003e\n`\n\n|------------------------------------------------------------------------------------------------------|---|\n| Data Fields ----------- ||\n| union { |\n| float [uncalib](/reference/hal/structuncalibrated__event__t#a9c22454e765672782b7198d57a92f5fd) \\[3\\] |\n| ||\n| struct { |\n| float [x_uncalib](/reference/hal/structuncalibrated__event__t#ac8b7f8daea042eaa2b86f0bf2160c44a) |\n| ||\n| float [y_uncalib](/reference/hal/structuncalibrated__event__t#a43437dd77e26c6b89ab1c91aeb63fd64) |\n| ||\n| float [z_uncalib](/reference/hal/structuncalibrated__event__t#ae677be5f98570cc5a1fd7fddcd8a6841) |\n| ||\n| } | |\n| ||\n| }; | |\n| ||\n| union { |\n| float [bias](/reference/hal/structuncalibrated__event__t#a52bd7f09c4decadcfbc0347fda4163d6) \\[3\\] |\n| ||\n| struct { |\n| float [x_bias](/reference/hal/structuncalibrated__event__t#a56c4ea73587a9ea20595cca9bcfe9593) |\n| ||\n| float [y_bias](/reference/hal/structuncalibrated__event__t#a130457eaa905b467bc43fedb02cbb16a) |\n| ||\n| float [z_bias](/reference/hal/structuncalibrated__event__t#a6e265324293107afbfa9e587941a4036) |\n| ||\n| } | |\n| ||\n| }; | |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nuncalibrated gyroscope and magnetometer event data\n\n\nDefinition at line\n[915](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------|\n| union { ... } |\n\n\n|---------------|\n| union { ... } |\n\n\n|-----------------|\n| float bias\\[3\\] |\n\n\nDefinition at line\n[925](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|--------------------|\n| float uncalib\\[3\\] |\n\n\nDefinition at line\n[917](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|--------------|\n| float x_bias |\n\n\nDefinition at line\n[927](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|-----------------|\n| float x_uncalib |\n\n\nDefinition at line\n[919](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|--------------|\n| float y_bias |\n\n\nDefinition at line\n[928](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|-----------------|\n| float y_uncalib |\n\n\nDefinition at line\n[920](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|--------------|\n| float z_bias |\n\n\nDefinition at line\n[929](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|-----------------|\n| float z_uncalib |\n\n\nDefinition at line\n[921](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)"]]