Motion Caller
概述
- cordymotioncaller 是珠海市科迪电子科技有限公司基于 Linux(Ubuntu22.04) 平台的设备驱动运控程序客户端。
- 客户端通过TCP与服务端通信。客户端发送指令,服务端解析指令并执行设备的运动控制,最终将结果返回给客户端。
- 目前cordymotioncaller只支持Linux(Ubuntu22.04)版本。
主要特点
- cordymotioncaller是C/S架构,实现客户端的指令隔离,使作为客户端的cordymotioncaller实现指令兼容。后续增加新的指令,只需要服务端支持即可,无需修改客户端cordymotioncall
pip 安装
cordymotioncaller已经发布到Pypi官网,通过 pip 指令可以安装。 注意:需要提前在Ubuntu22.04操作系统上安装python(版本3.10)
pip install cordymotioncaller
验证cordymotioncaller 是否安装成功
>>> from cordymotioncaller import MotionCaller
>>> MotionCaller.run_check()
输出如下内容:
cordymotioncaller installed.
表示安装成功
示例代码~~~~
from cordymotioncaller import MotionCaller
caller = MotionCaller()
print(caller.send_command("127.0.0.1", 8899, "powerondut", 10000)) #
代码说明:
- from cordymotioncaller import MotionCaller #导入MotionCaller模块
- caller = MotionCaller() #创建MotionCaller对象)
- caller.send_command("127.0.0.1", 8899, "powerondut", 10000)
- "127.0.0.1" : 运控服务程序地址,127.0.0.1表示运控服务程序在在本地安装
- 8899: 服务程序监听端口
- "powerondut": 运控设备指令,详细指令说明参考下文“指令支持”部分
- 200000: TCP连接超时,单位(ms)
Metadata
Release files for cordymotioncaller 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cordymotioncaller-0.2.0.tar.gz | 22.3 kB | Without provenance | Details for cordymotioncaller-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cordymotioncaller-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for cordymotioncaller-0.2.0-py3-none-any.whl |
Total release size: 43.7 kB
Release files / cordymotioncaller-0.2.0.tar.gz
| Download URL | cordymotioncaller-0.2.0.tar.gz |
|---|---|
| Size | 22.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f60343a898139de09df123ea99fc4668dbc83ba5f9a7dba0e125a2e499413427
|
|
BLAKE2b-256 checksum How to use checksums |
2e882b76b229caa93f7f05233a50d373f66b8f0439e11d69b2fa9ff6071daf44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / cordymotioncaller-0.2.0-py3-none-any.whl
| Download URL | cordymotioncaller-0.2.0-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
136f61e29e59333fab35ca1d8eb3c49b88e13ae7a2bf0c63f3b9abefa7f19076
|
|
BLAKE2b-256 checksum How to use checksums |
2e34d8fb6b518f22ed75837ce7ddab8082eb39e6421ce6715d36bc6156e1b0d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for cordymotioncaller 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.