一个简单易用的 Pelco-D 协议云台控制库
Project description
PyPTZController - 一个简单的 Pelco-D 云台控制库
这是一个基于 Python 的、用于通过串口 (RS-485) 控制遵循 Pelco-D 协议的云台 (PTZ) 摄像头的库。它将复杂的十六进制指令封装成了简单易用的 Python 方法。
主要功能
- 基础移动: 支持上、下、左、右等八个方向的持续移动。
- 预置位: 支持设置、调用和清除预置位。
- 绝对定位: 可以直接移动到指定的水平和垂直角度。
- 位置查询: 能够查询云台当前的精确角度。
- 精确移动: 提供了一个“移动并等待到达”的高级方法,实现精确的闭环控制。
- 协议驱动: 通过配置文件定义协议,易于扩展。
安装
你可以通过 pip 轻松安装本库:
pip install pyptzcontroller
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
pyptzcontroller-0.1.1.tar.gz
(8.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyptzcontroller-0.1.1.tar.gz.
File metadata
- Download URL: pyptzcontroller-0.1.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aebdd7fbfa80b575943757985be4345defd3597b9aeedd5dca29f0b38d3d1466
|
|
| MD5 |
bb0f8d437de9f1c979c1c61cc927e657
|
|
| BLAKE2b-256 |
5f20fd7214265fb4148de5895a5c148c90afda04487b2bd2f762219e3b7e89d8
|
File details
Details for the file pyptzcontroller-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyptzcontroller-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4e7813e76fcaa10dd658d6580839a1c3398dad606a13e66246124b9ef043c56
|
|
| MD5 |
df77065bf653f109370c83dcc61c171d
|
|
| BLAKE2b-256 |
97a12cf54c7f958d558c56fbd1a00c6180a79b5c79ce6bdf81f2d06db8e00cb2
|