ServoArray: Pluggable servomotor driver library
Project description
servoarray
Pluggable servomotor driver library
Install
Boost.Filesystem is required
pip install servoarray
Usage
from servoarray import ServoArray
sa = ServoArray()
# You can specify driver name and parameters directly though it is not recommended
# sa = ServoArray("pca9685", {"bus": 1, "address": 0x40, "min_pulse": 150, "max_pulse": 600})
# Now you can set a radian value to the servo
sa[0] = 3.14 / 2 # Max
sa[0] = -3.14 / 2 # Min
# Slicing and reverse indexing are supported as the normal list
sa[:] = [0] * len(sa)
print(sa[-1])
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
servoarray-0.7.0.tar.gz
(655.3 kB
view details)
Built Distributions
File details
Details for the file servoarray-0.7.0.tar.gz
.
File metadata
- Download URL: servoarray-0.7.0.tar.gz
- Upload date:
- Size: 655.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1e97aa60d3678f426c1e118518b67014fcc7a763dbae45ab23f30c4dba4b6716
|
|
MD5 |
26918f9b11d8e7da78940a05b3107da2
|
|
BLAKE2b-256 |
7a8d507919fe94757d347dd5da1845a95b10f6abaa92b1b914aa69c63800ae9b
|
File details
Details for the file servoarray-0.7.0-cp37-cp37m-linux_armv6l.whl
.
File metadata
- Download URL: servoarray-0.7.0-cp37-cp37m-linux_armv6l.whl
- Upload date:
- Size: 308.0 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
882fcbe6483ebc77037a097d21afaf2d6f8428b61073ead37a4489b29fc61875
|
|
MD5 |
122c22e6268d889c082651e7d675593e
|
|
BLAKE2b-256 |
4af9b4b7406c8768f7abe7adabf761e6415352c6b2d8b1c1765b36304c811f32
|
File details
Details for the file servoarray-0.7.0-cp36-cp36m-linux_armv6l.whl
.
File metadata
- Download URL: servoarray-0.7.0-cp36-cp36m-linux_armv6l.whl
- Upload date:
- Size: 308.0 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
bd3c54070d3658ab694c55fdb385ae82eb4a961a7125c39af28a0730e3591e41
|
|
MD5 |
61b47482a985fb28b4054b0439d22166
|
|
BLAKE2b-256 |
0ea0d03b39bcd6b961df64452e35697b22f67a3a57863b4876ecbdeae0f8307c
|
File details
Details for the file servoarray-0.7.0-cp35-cp35m-linux_armv6l.whl
.
File metadata
- Download URL: servoarray-0.7.0-cp35-cp35m-linux_armv6l.whl
- Upload date:
- Size: 308.0 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f145229df82bb5969e4e83363f759422e66e43bbf7135671acf4ee6a553fd6b3
|
|
MD5 |
226cec99a16d43dde49b547df8a1556c
|
|
BLAKE2b-256 |
facc6b12552e8ea98dc82fb67424fdd7a38e2cc980aca619f406fd077cf1fc62
|