【问题标题】:Where the timestamps are added to the sensor data时间戳添加到传感器数据的位置
【发布时间】:2014-05-22 18:46:43
【问题描述】:

我想知道,时间戳在哪里添加到传感器数据(传感器 IC?,在 MCU 中接收时?)?参考时间是多少(传感器 IC 时钟?MCU 时钟?)。

最好的问候

罗恩

【问题讨论】:

    标签: android timestamp sensors


    【解决方案1】:

    时间戳被添加到结构sensors_event_t的传感器数据中,可以在文件中找到 sensors.h 来自 Sensor IC 的 HAL 级别,参考时钟是 Sensor IC 时钟。

    您可以通过函数 SensorEvent event.timestamp 和 SystemClock getRealTimeElapsedNanos. 记录和检查时间戳以进行区分

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-12-30
      • 1970-01-01
      • 2023-04-05
      • 1970-01-01
      • 1970-01-01
      • 2020-04-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多