Skip to main content

一个简单易用的 Pelco-D 协议云台控制库

Project description

PyPTZController - 一个简单的 Pelco-D 云台控制库

这是一个基于 Python 的、用于通过串口 (RS-485) 控制遵循 Pelco-D 协议的云台 (PTZ) 摄像头的库。它将复杂的十六进制指令封装成了简单易用的 Python 方法。

主要功能

  • 基础移动: 支持上、下、左、右等八个方向的持续移动。
  • 预置位: 支持设置、调用和清除预置位。
  • 绝对定位: 可以直接移动到指定的水平和垂直角度。
  • 位置查询: 能够查询云台当前的精确角度。
  • 精确移动: 提供了一个“移动并等待到达”的高级方法,实现精确的闭环控制。
  • 协议驱动: 通过配置文件定义协议,易于扩展。

安装

你可以通过 pip 轻松安装本库:

pip install pyptzcontroller

Project details


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.2.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyptzcontroller-0.1.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file pyptzcontroller-0.1.2.tar.gz.

File metadata

  • Download URL: pyptzcontroller-0.1.2.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.1

File hashes

Hashes for pyptzcontroller-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dd93fdd98caa4fbe53d5a30ad18d44eb823b9f63c9d45d550b31d4f7cd9059d0
MD5 1e73db41c332a8fa68bfcc29228d5eb2
BLAKE2b-256 0feebf1ad8ba91c7f8e9c4973f7eba754be653406213c1a6452cf757651b0b0b

See more details on using hashes here.

File details

Details for the file pyptzcontroller-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyptzcontroller-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4170fca7406bfbaaed1afc508a2047073fc1198c04a8277e4fd7e626b716b560
MD5 785c4f02eb031eca3f6bc07d4689c57a
BLAKE2b-256 42089bea993b6bcf7a0f83dfb545a9eb1a7e3750905c2bae1e3449c14998ed4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page