Skip to main content

Interface for the Alphabot sensors and camera

Project description

Installation

alphabot-interface

AlphaBot

Version: 0.1.1
Author: @sadra-hub on GitHub License: MIT
Python Version: 3.8+


Description

alphabot-interface provides a modular and simple Python interface for interacting with key components of the Waveshare AlphaBot 2 platform, including:

  • Camera module (using Picamera2)
  • Battery monitoring
  • Motor control

alphabot-interface is a lightweight Python package that lets you comfortably use various components of the AlphaBot platform and write clean, readable, and modular code.

This package is designed to abstract hardware-level interactions so developers and students can focus on high-level robotics programming.


Installation

You can install the package via pip after publishing it to PyPI:

pip install alphabot-interface

Usage

This package let you comfortably use various components of AlphaBot and write clean, readable code.

from alphabot_interface import Camera, Battery, Motor

# Initialize components
camera = Camera()
battery = Battery()
motor = Motor()

# Use the motor
motor.forward()
battery_status = battery.get_status()

# Take a photo with camera and save it to output.jpg
camera.take_picture("output.jpg")

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

alphabot_interface-0.1.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

alphabot_interface-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file alphabot_interface-0.1.1.tar.gz.

File metadata

  • Download URL: alphabot_interface-0.1.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for alphabot_interface-0.1.1.tar.gz
Algorithm Hash digest
SHA256 83a766f1687716ae2fee9bc2d380c1fc2cec5ce54390bd9f4264a9e64525bfb7
MD5 4be85dbf168b44bbdf85022ad1d6fa27
BLAKE2b-256 3546bb23ad4ca918cd4ad4232b3d64b3732344e73662ae29db209c77f6cefcfb

See more details on using hashes here.

File details

Details for the file alphabot_interface-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for alphabot_interface-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81473928b70a160c67187ec2a41af2b839ca4db0495a778fc404d54efe502211
MD5 9acddd81f7ceff4f825f9e2bebeddedf
BLAKE2b-256 2f7ea730944c5c55187d7b86bc80344aa48cc17013d6b7b39c31637aac725d8a

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