This implements a basic pure-Pyton PID controller (http://en.wikipedia.org/wiki/PID_controller).
Installation
Run:
pip install pid_controller
Usage
from pid_controller.pid import PID pid = PID(p=0.1, i=0.004, d=3.0) output = pid(feedback=get_feedback())
Development
Run unittests:
export TESTNAME=; tox
To run a specific unittest:
export TESTNAME=.test_robot_steering; tox
To run tests for a specific environment (e.g. Python 2.7 with Django 1.4):
export TESTNAME=; tox -e py27
Metadata
Release files for pid_controller 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 | |
|---|---|---|---|---|
| pid_controller-0.2.0.tar.gz | 4.4 kB | Without provenance | Details |
Release files / pid_controller-0.2.0.tar.gz
| Download URL | pid_controller-0.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5b0ada0c5c2d46488cab82285fbb3cd1df8abc6273844d2ac44ddcb8af62010
|
|
BLAKE2b-256 checksum How to use checksums |
3ff5da1920ce849f33a4e920e962b42510654b2f855bf94c6a214858630bc0c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pid_controller 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.