A python library to operate 'Speed' devices
Project description
SpeedLib
A python library to operate Speed devices.
Currently only the Faller (c) 180290 models is supported.
Example
from speedlib.cranes import faller
from speedlib.cranes.faller import Crane
ip_1 = "172.17.217.217"
ip_2 = "172.17.217.217"
crane_1 = Crane()
crane_2 = Crane()
crane_1.init(ip_1)
crane_2.init(ip_2)
crane_2.start_for(20*faller.ureg.millisecond,faller.MotorChassis,faller.MotorDirectionForward)
crane_1.change_speed(faller.MotorCrab, -40)
You can find more examples in the examples directory.
Install
git clone https://github.com/CRIStAL-PADR/Speed.git
The library is in speedlib/init.py
Tests
To starts the unit tests you can do:
cd tests/
PYTHONPATH=../ python3 -m unittest
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
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 speedlib-dedo-fabrice-2.0.tar.gz.
File metadata
- Download URL: speedlib-dedo-fabrice-2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18042a50488e6ef48bba8302a3de2c0ad90bb48a4c139eac873fd7208cb7ce02
|
|
| MD5 |
949ea07667b85bac5c977b43cddb9385
|
|
| BLAKE2b-256 |
f551aa399c68823dcd242b31d49fc1bbef6130c82d97a353e0c27f2f62898934
|
File details
Details for the file speedlib_dedo_fabrice-2.0-py3-none-any.whl.
File metadata
- Download URL: speedlib_dedo_fabrice-2.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
161e8c3c1e929a2ecac8c35bbb5399bb19585323814cd27881fa9afaf5491cd8
|
|
| MD5 |
e27e420958ed3241f4ce145016175b70
|
|
| BLAKE2b-256 |
a8d26087f1f8bb3067351f873a1053f735cb67f9d867dfb7fc6bc6d64eb324b3
|