A package for easy use of fro net device application
Project description
目录结构及说明
.
├── examples
| └── xxx.py
├── froModuleDrivers
| └── xxx.py
├── setup.py
└── README.md
examples文件夹说明
- 提供了每个硬件驱动基础的测试例子
- 更多控制方法请参考每个硬件驱动的api文档
froModuleDrivers文件夹说明
-
froModuleDrivers目录下存放了fro K12系列产品通用的socket通讯类的控制驱动源码,请勿随意修改
-
文件功能如下表所示
filename | fun |
---|---|
init.py | |
baseDriver.py | |
nioConnector.py | |
nioManager.py | 驱动管理模块 |
protocol.py | |
protocolHandler.py | |
utils.py | |
gateway.py | 网关节点驱动 |
homeDeviceDriver.py | 家居设备控制板驱动 |
agricultureDeviceDriver.py | 农业设备控制板驱动 |
conveyerBeltDriver.py | 传送带驱动 |
roboticArmDriver.py | 机械臂驱动 |
setup.py
- 安装驱动到PC,安装完之后可以在任意目录来引用 from froModuleDrivers import xxx
安装方法为:
- 在froModuleDrivers同目录下打开命令行,运行指令:pip install .
pip install .
- 联网状态可以直接运行:pip install froModuleDrivers
pip install froModuleDrivers
- Tips: 如果联网安装过程中发现更新速度过慢或者pypi源中暂不包含该软件包,可以尝试临时使用如下的镜像源。
官方:
pip install froModuleDrivers -i https://pypi.org/simple
清华园:
pip install froModuleDrivers -i https://pypi.tuna.tsinghua.edu.cn/simple
中国科学技术大学:
pip install froModuleDrivers -i http://pypi.mirrors.ustc.edu.cn/simple/
- 升级方法为:pip3 install -U froModuleDrivers
pip3 install -U froModuleDrivers -i https://pypi.org/simple
版本信息
V1.0.0
- first commit
V1.0.1
- 修复了核心驱动的一些格式和文档说明
V1.0.2
- 上传驱动文件
gateway.py
homeDeviceDriver.py
agricultureDeviceDriver.py
conveyerBeltDriver.py
roboticArmDriver.py
- 增加了pip安装过程中出现的问题的一些解决方法
V1.0.3
- 修改了语音识别节点未识别成功时返回值未False
V1.0.4
- 修复了语音识别节点识别到"小飞同学"唤醒词时打印的keyERROR错误
V1.0.5
- 增加了识别一条新语句的方法
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
froModuleDrivers-1.0.5.tar.gz
(17.9 kB
view hashes)
Built Distribution
Close
Hashes for froModuleDrivers-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f358d091143f9775d007be2ae8b3b7e67b6d82e28f3dbd447b131b012235b83 |
|
MD5 | ef7fa0c4cb493fbd700702352b4fe525 |
|
BLAKE2b-256 | ae15221a1e8fdc955f7fb022fb75f5941a1301df588bde83d5ddc3796deeab29 |