Library for communicating with and controlling the PenguinPi robot platform.
Project description
Penguinpi
Library for communicating with and controlling the PenguinPi robot platform.
Key features:
- Motor control and encoder querying
- Access to camera
- Access to HAT and LED screen
Installing
# Python2.7
pip install penguinpi
# Python3
pip3 install penguinpi
Basic usage
import penguinpi
import time
import cv2
address = 'xxx.xxx.xxx.xxx'
port = 8080
bot = penguinpi.PiBot(address, port)
bot.setVelocity(50, 50)
time.sleep(2)
bot.stop()
img = bot.getImage()
cv2.imshow('image', img)
cv2.waitKey(0)
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
penguinpi-1.0.0.tar.gz
(2.9 kB
view hashes)
Built Distributions
Close
Hashes for penguinpi-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637fa0a26621fd05993d62ddbf2db16f52b4850e187e75cd86b34f9172d411ca |
|
MD5 | fda4da562aca0a402bac089a01ae857a |
|
BLAKE2b-256 | 39ce75510b6473f831a998102a68bcc3758be77fd28ad085ec273a1a5888c14f |
Close
Hashes for penguinpi-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b45501f4c1c3209537b2e43e7f24a764d95a10df0696e438d641eee6dbdd4ca |
|
MD5 | cb5ed115a8cdb30e963aa0258de057cb |
|
BLAKE2b-256 | 6348409c53b8e46a8934d3a07cbf5f0b8fc0ecdbca6ad724fd0c81606a0c7289 |