Unofficial python package for WHILL Model CK control
Project description
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
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 whillpy-0.2.tar.gz.
File metadata
- Download URL: whillpy-0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1071e8189d2c0d5f98a8b8dd4b79677536c7fa52a8e2bc46f9f78bb23776cd3d
|
|
| MD5 |
7c9640fd1bf1c4dee3aa0001b0c3707e
|
|
| BLAKE2b-256 |
4038964dfc751fb6286df8a73288785fa5af432c8209e39138ee7a1ad2409686
|
File details
Details for the file whillpy-0.2-py3-none-any.whl.
File metadata
- Download URL: whillpy-0.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04e105b955e4d0a25c3fcbd93c6fa8f2092d33b89d34f6890d96d61ba80672cf
|
|
| MD5 |
d0ce6a195d655180f47b1371bb7e0629
|
|
| BLAKE2b-256 |
0c53a416e678e4defbca8d06ff41102bf85332eec347d7312b1b67291ab995b3
|