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.0.tar.gz (8.4 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.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyptzcontroller-0.1.0.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

Hashes for pyptzcontroller-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bb9ef5083d77838dea821789bbc13c87f0bf2d9b7d9ad25c73e39bea6dbcb478
MD5 a120e8d06ac773a3a0a6243127459025
BLAKE2b-256 b905941437cbcf6272462429f184d06ca972ba0537c0dc84d218ed5a40828b1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyptzcontroller-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ffbd8f3e908e7b44b9899e2dd158ffc9a2c0abdc6212b62bb729b10d056a517
MD5 15b59e3c015437fed7ad81f0b240fd1f
BLAKE2b-256 87b986b3757ee7a90bb51c81df872c7ca071f2575dfd7c1ac4d227d1a264b68b

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