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
whillpy-0.2.tar.gz
(4.0 kB
view hashes)
Built Distribution
whillpy-0.2-py3-none-any.whl
(5.5 kB
view hashes)