yabo国际娱乐对话半导体客户支持-陀螺仪 https://support.dialog-semiconductor.com/resource-keywords/gyroscope 使用everything框架时,加速度计和陀螺仪的同步问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/synchronization-problem-accelerometer < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”property="rdfs:label skos:prefLabel" datatype="">Dialog Smartbond Bluetooth Low Energy - Software

我使用华为智能手机作为中央,DA14583物联网传感器作为外设。运行在智能手机上的软件是一个使用everything框架的应用程序。我想同时读取加速度和角速度来做动作捕捉。
传感器的固件:物联网原始项目。
加速度计和陀螺仪采样频率:50Hz。中央设备上< br / >代码使用Evothing如下:< br / > / /接收的数据< br / > app.handleSensorAccelerometer = function(数据){< br / >数据(“时间”)= Date.now (); < br / >数据(“类型”)=“加速器”;< br / > app.data.Accelerometer.push(数据),< br / > . getelementbyid(“sensor-accelerometer-count”)。
app.data.Gyroscope.push(data);< /p>

app.handleSensorGyroscope = function (data) {
data["time"] = Date.now();
}

问题:加速度计和陀螺仪不能同步。陀螺仪的数据通常小于加速度计的数据。问题:到目前为止,我发现一切只提供两个回调接口函数,app.handleSensorAccelerometer()和handleSensorGyroscope()。我目前使用的同步方法是将加速度计和陀螺仪的数据分别发布到两个阵列上。 As a result, the data are not strictly synchronized, just by random. Usually, the gyroscope's data is less than acclerometer 's data when sampling a period. My question is that how can I synchronize two sensors or eliminate my former errors?

Best Regards,
Elvis

Device: 
星期三,2017年7月26日04:19:16 +0000 Elvis1991 72179年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/synchronization-problem-accelerometer#comments
DA14583物联网传感器陀螺仪睡眠问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14583-iot-sensor-gyroscope-sleep < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”

亲爱的所有人,

外设:我在DA14583物联网传感器上运行RAW项目。
Central: Android手机与所有软件。
现象:当我测试加速度计时,一切都很顺利。然而,当我测试陀螺仪时。除非传感器移动,陀螺仪无法向手机发送数据。
问题:
这是节约能源的问题吗?因为我想融合加速度计数据和陀螺仪数据。如果陀螺仪没有值,我想发送角速度(0,0,0)。< br / > 2。 If it is the problem of energy saving, how can I close it to make that both the accelerometer and gyroscope output together even the sensor is stable and does not move.

Best Regards,
Yufan

Device: 
Tue, 27 june 2017 06:44:33 +0000 Elvis1991 56643年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14583-iot-sensor-gyroscope-sleep#comments