No project description provided
Project description
๐ค RoboCafe Control System
A Python-based GUI application to operate and calibrate an automated robotic coffee and ice-cream station. The system is built with PySide6 and designed for use with xArm robotic arms, coffee/ice-cream machines, cup dispensers, shields, and Vendista for client payments.
๐ Features
- Component Health Check: Run diagnostics on all machines (robotic arm, dispensers, dumping mechanism, etc.).
- Manual & Assisted Calibration: Adjust arm positions via interactive GUI with drag-and-drop node editor and live coordinate control (XYZ + RPY).
- Flow-Based Node Editor: Design custom delivery paths using a visual flowchart system.
- Recipe Editor: Create and edit recipes that define arm actions and sequences.
- Operator & Client Modes: Seamlessly switch between technician/operator and client-facing interfaces.
- Environment Settings Panel: Easily update network settings and relay mappings through
.env. - Logging & Error Handling: Centralized logging with
loguru, robust error management, and safe shutdown prompts.
๐ฅ๏ธ Screenshots
(Insert screenshots of the schematic view, calibration controls, and client UI here)
๐งฑ Project Structure
robotic-coffee-station/
โโโ app.py # App entry point
โโโ gui/ # GUI layers
โ โโโ operator/
โ โ โโโ calibration.py # Calibration system (schematic + node editor)
โ โ โโโ settings.py # Network/device settings manager
โโโ hardware/
โ โโโ arm/controller.py # xArm SDK interface or mock
โ โโโ relays/plc.py # PLC-based relay controller
โโโ utils/
โ โโโ logger.py # loguru setup
โ โโโ helpers.py # pathfinder, helpers
โโโ data/
โ โโโ calibration.json # Flowchart connections
โ โโโ components.json # Schematic component coordinates
โ โโโ nodes.json # Node positions and calibration info
โโโ resources/
โ โโโ icons/ # UI icons for devices
โโโ .env # Environment config (Vendista keys, IPs, ports)
โโโ pyproject.toml # Poetry config
โโโ README.md
โ๏ธ Setup
Requirements
- Python 3.10+
- Poetry
- xArm SDK (for real arm control)
- PySide6, loguru, python-dotenv
Installation
# Clone the repo
git clone https://github.com/yourusername/robotic-coffee-station
cd robotic-coffee-station
# Install dependencies
poetry install
# Create .env file
cp .env.example .env
# Edit .env to configure relay IPs, Vendista keys, etc.
Run the App
poetry run python app.py
๐ Environment Variables (.env)
RELAY_IP=192.168.1.130
RELAY_UTP_PORT=5005
BUFFER_SIZE=1024
XARMAPI=192.168.1.191
DISPENSER_S=all00000001
DISPENSER_M=all00000010
BIN=all00000100
SHIELD=all00001000
VENDISTA_API_KEY=your-secure-key
๐งช Testing
To run tests (planned or future):
poetry run pytest tests/
๐งฐ Tech Stack
- Python 3.10+
- PySide6 โ GUI
- loguru โ Logging
- dotenv โ Environment variable handling
- xArm SDK โ Robotic arm control
- Poetry โ Dependency management
- QGraphicsScene โ Custom node editor & schematic layout
๐ Status
This project is actively developed. Calibration logic and schematic interface are operational. Recipes, client interface, and Vendista integration are in progress.
๐ License
MIT License. See LICENSE file for details.
๐ค Author
Developed by Nemkov M, 2025.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mini_coffee-0.1.0.tar.gz.
File metadata
- Download URL: mini_coffee-0.1.0.tar.gz
- Upload date:
- Size: 173.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe4eb38381b1679e74767baf10e7c8c53daccaade85f0af4d90b7a8763999062
|
|
| MD5 |
7f46ac3cdf1adb7478b274cd5b20541b
|
|
| BLAKE2b-256 |
6cf51b092a39a352d732f28d61e70e9a7c5f780078a1dfb3989e43c577691d52
|
File details
Details for the file mini_coffee-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mini_coffee-0.1.0-py3-none-any.whl
- Upload date:
- Size: 204.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2fcee49959b1f05b24342c650ad36a366407ebc65aa1ba2f132d585960b97ef
|
|
| MD5 |
5bab30c1eefdc67c3cfd701d1e44c657
|
|
| BLAKE2b-256 |
939a8dbfbc9f57a3a61140b331a240933504541a6226f10938fb91842da47281
|