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

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

Supported by

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