环境搭建步骤:
1:rethinkdb服务器,下载后双击执行即可。
链接:https://pan.baidu.com/s/1-KtGwNJNq7bK0_Deyk22tg
提取码:yhy1
2:atxserver2
git链接:https://github.com/openatx/atxserver2
代码下载后,pip install -r requirements.txt安装所需要的库。
双击main.py,连接rethinkdb。
注:实际使用中,不同平板可能显示旋转角度不同。可根据实际情况修改下方代码。
atxserver2\templates\remotecontrol_android.html
3:atxserver2-android-provider
git链接:https://github.com/openatx/atxserver2-android-provider
注:需配合nodejs8使用,点击跳转安装教程
代码下载后,pip install -r requirements.txt安装所需要的库。
电脑连接所需要上报的设备,双击main.py,上报电脑连接的设备。