Skip to main content

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


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

Uploaded Source

Built Distributions

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

penguinpi-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

penguinpi-1.0.0-py2-none-any.whl (3.7 kB view details)

Uploaded Python 2

File details

Details for the file penguinpi-1.0.0.tar.gz.

File metadata

  • Download URL: penguinpi-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for penguinpi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 75a4694cfbff740368060072dccf8fec1bd4c0554735a7dd89d173c6a2da81e3
MD5 2a21af692750d9483f60f3f79d1435b0
BLAKE2b-256 fb27126b0df1bbc3177c24333c6172a1dbcb506ce886a1a589489b470284419d

See more details on using hashes here.

File details

Details for the file penguinpi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: penguinpi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for penguinpi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 637fa0a26621fd05993d62ddbf2db16f52b4850e187e75cd86b34f9172d411ca
MD5 fda4da562aca0a402bac089a01ae857a
BLAKE2b-256 39ce75510b6473f831a998102a68bcc3758be77fd28ad085ec273a1a5888c14f

See more details on using hashes here.

File details

Details for the file penguinpi-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: penguinpi-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.17

File hashes

Hashes for penguinpi-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 5b45501f4c1c3209537b2e43e7f24a764d95a10df0696e438d641eee6dbdd4ca
MD5 cb5ed115a8cdb30e963aa0258de057cb
BLAKE2b-256 6348409c53b8e46a8934d3a07cbf5f0b8fc0ecdbca6ad724fd0c81606a0c7289

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