sensor_event_t 结构参考
sensor_event_t 结构参考
#include < sensors.h >
数据字段 | |
int32_t | 版本 |
int32_t | 传感器 |
int32_t | 类型 |
int32_t | 保留0 |
int64_t | 时间戳 |
联合{ | |
联合{ | |
浮动数据[16] | |
sensor_vec_t加速度 | |
sensor_vec_t磁性 | |
sensor_vec_t方向 | |
sensor_vec_t陀螺仪 | |
浮动温度 | |
浮动距离 | |
浮灯 | |
浮压 | |
浮动相对湿度 | |
uncalibrated_event_t uncalibrated_gyro | |
uncalibrated_event_t uncalibrated_magnetic | |
heart_rate_event_t heart_rate | |
meta_data_event_t元数据 | |
dynamic_sensor_meta_event_t dynamic_sensor_meta | |
additional_info_event_t附加信息 | |
} | |
联合{ | |
uint64_t数据[8] | |
uint64_t step_counter | |
} u64 | |
}; | |
uint32_t | 旗帜 |
uint32_t | 保留1 [3] |
详细说明
现场文件
联合 { ... } |
sensor_vec_t加速度 |
dynamic_sensor_meta_event_t dynamic_sensor_meta |
sensor_vec_t陀螺仪 |
heart_rate_event_t heart_rate |
联合 { ... } u64 |
uncalibrated_event_t uncalibrated_gyro |
uncalibrated_event_t uncalibrated_magnetic |
此结构的文档是从以下文件生成的: