自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
uncalibrated_event_t 结构体参考文档
#include <
sensors.h
>
未校准的陀螺仪和磁力计事件数据
定义位于文件
sensors.h
的
915
行。
此结构体的文档是根据以下文件生成的:
-
hardware/libhardware/include/hardware/
sensors.h
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[],[],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)"]]