Core Motion遥控器滞后问题

问题描述

我做了一个简单的演示,具有以下功能:

. Using a iphone device (iphoneX) as a controller 
. Enable the CoreMotion feature of the iphone and send the motion data to a server (LAN)
. The server sends the data to a web page with a iphone model in it and control the model with the iphone controller

数据传输使用WebSocket:

Controller: Websocket
Web: Websocket
Server (python): Websocket

现在演示作品:

enter image description here

现在的问题是,当我快速移动iphone(控制器)时,网页中的模型似乎无法跟随控制器而变得相当滞后。

我不知道是否有任何方法可以解决该问题或使其看起来更好。

我试图将数据直接发送到网页,但是找不到完成它的方法。

或者代码非常简单明了:

The controller sends the data
The python server receives and then sends the data to web
The web receives the data and update the model 

任何建议将不胜感激,谢谢:)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)