whillpy
Unofficial python package for WHILL Model CK control
Dependencies
- Python 2 or 3
- pyserial
It can easily be installed using pip i.e.,(it will be installed automatically)pip install pyserial
Installation Steps
Install from source
- Clone or download the repository
- Use the following command
python setup.py install- Alternatively the package can be installed to a user directory using the following command
python setup.py install --user
Connection Diagram
In order to control WHILL Model CK, we propose to use Raspberry Pi 3 module. This module can easily be powered up by the provided USB socket in WHILL. Below are the connection diagrams -
Power
Connections
Usage
Below is an example-
import whillpy
# initialize Whill by providing the name of the serial port
whill = whillpy.connect(port='/dev/ttyUSB0')
# control the power
whill.set_power(whillpy.power.on)
# move straight while turning left
whill.move(straight=10, turn=-50)
Examples can be found in examples directory of this package.
Issues
Please check here and create issues.
Author
Release files for whillpy 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| whillpy-0.2.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| whillpy-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / whillpy-0.2.tar.gz
| Download URL | whillpy-0.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1071e8189d2c0d5f98a8b8dd4b79677536c7fa52a8e2bc46f9f78bb23776cd3d
|
|
BLAKE2b-256 checksum How to use checksums |
4038964dfc751fb6286df8a73288785fa5af432c8209e39138ee7a1ad2409686
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / whillpy-0.2-py3-none-any.whl
| Download URL | whillpy-0.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04e105b955e4d0a25c3fcbd93c6fa8f2092d33b89d34f6890d96d61ba80672cf
|
|
BLAKE2b-256 checksum How to use checksums |
0c53a416e678e4defbca8d06ff41102bf85332eec347d7312b1b67291ab995b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|