Skip to main content

Unofficial python package for WHILL Model CK control

Project description

whillpy

Unofficial python package for WHILL Model CK control

WHILL

Dependencies

  1. Python 2 or 3
  2. pyserial
    • It can easily be installed using pip i.e., pip install pyserial (it will be installed automatically)

Installation Steps

Install from source

  1. Clone or download the repository
  2. 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

power

Connections

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

Ravi Prakash Joshi

Project details


Release history Release notifications | RSS feed

This version

0.2

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whillpy-0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

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

Hashes for whillpy-0.2.tar.gz
Algorithm Hash digest
SHA256 1071e8189d2c0d5f98a8b8dd4b79677536c7fa52a8e2bc46f9f78bb23776cd3d
MD5 7c9640fd1bf1c4dee3aa0001b0c3707e
BLAKE2b-256 4038964dfc751fb6286df8a73288785fa5af432c8209e39138ee7a1ad2409686

See more details on using hashes here.

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

Hashes for whillpy-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04e105b955e4d0a25c3fcbd93c6fa8f2092d33b89d34f6890d96d61ba80672cf
MD5 d0ce6a195d655180f47b1371bb7e0629
BLAKE2b-256 0c53a416e678e4defbca8d06ff41102bf85332eec347d7312b1b67291ab995b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page