Synchronization problem for accelerometer and gyroscope when using Evothing framework
Experimental Setup: I use Huawei smartphone for Central and DA14583 IoT sensor as peripheral. The software running on the smartphone is an app using Evothing framework. I would like to read acceleration and angular velocity at the same time to do the motion capture.
传感器的firmaware:物联网生专业ject.
Sample rate for accelerometer and gyroscope: 50Hz.
The code on the central device using Evothing is as follows:
//Received data
app.handleSensorAccelerometer = function (data) {
data["time"] = Date.now();