Skip to content

About

A Robot with a split architecture consisting of a raspberry pi 5 (4gb) with a ai hat and a libcam and a ev3dev (mindstorms) functioning as the physical body

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Butter Robot (Raspberry Pi 5 + Hailo + EV3dev)

butter robot banner

Autonomer Robot fuer Butter-Erkennung und Aufnahme:

Auf Einen Blick

Vorderseite Detailansicht
Vorderseite Detailansicht
Thema Startpunkt
Installation komplett (inkl. Training/HEF) docs/INSTALLATION.md
Programmablauf + Diagramme docs/ARCHITEKTUR_UND_ABLAUF.md
Mermaid Ablaufdiagramm (direkt) Zum Diagramm
HEF Hintergrund/Kompatibilitaet HEF_ERSTELLUNG_RPI5_AI_HAT_PLUS_26TOPS.md
GitHub/SSH Setup docs/GITHUB_SETUP.md

Schnellstart (HEF bereits vorhanden)

# 1) Auf EV3
python3 ev3_start_rpyc_server.py --host 0.0.0.0 --port 18812

# 2) Auf Raspberry Pi (USB/RPyC Test)
sudo python3 pi_ev3_rpyc_usb_client.py --iface auto --oneshot --verbose

# 3) Robot starten (Web + Auto-Run)
./start_hailo_webserver.sh

Web UI: http://<pi-ip>:8080

Gesamtfluss (Kurz)

flowchart LR
    A[Datensatz + Labeling] --> B[YOLO Training auf Ubuntu Desktop]
    B --> C[ONNX Export]
    C --> D[ONNX -> HEF mit Hailo Developer Suite]
    D --> E[HEF auf Raspberry Pi]
    E --> F[EV3 Verbindung per USB + RPyC]
    F --> G[Robot Lauf: Suchen -> Anfahren -> Aufnehmen]
Loading

Wichtige Dateien

Datei Zweck
hailo_butter_ev3_alert.py Autonomer Robot-Flow (State Machine)
hailo_robot_web_control.py Web-UI, Config, Robot-Prozesssteuerung
hailo_web_detect_server.py Reiner Detektions-Stream
pi_ev3_rpyc_usb_client.py Robuste Pi -> EV3 USB/RPyC Verbindung
ev3_start_rpyc_server.py EV3 rpyc_classic Start
start_hailo_webserver.sh Haupt-Launcher fuer Webbetrieb
start_hailo_butter_alert.sh Direktstart ohne Web
requirements-pi.txt Pi Python Dependencies
requirements-ev3.txt EV3 Python Dependencies
Installationsdetails

End-to-End Reihenfolge

  1. Datensatz erstellen/labeln (Klasse butter)
  2. YOLO auf Ubuntu Desktop trainieren
  3. ONNX exportieren
  4. ONNX zu HEF (hailo8) kompilieren
  5. HEF nach /home/gast/model.hef auf dem Pi kopieren
  6. Pi + EV3 verbinden und testen
  7. Robot mit echter Hardware validieren

Detaildoku

Ablaufdetails

Robot-States:

  • SEARCH_RANDOM
  • APPROACH_BUTTER
  • PICK_SEQUENCE
  • DONE_STOP

Details und Mermaid:

Validierung und CI
python3 -m py_compile \
  hailo_butter_ev3_alert.py \
  hailo_web_detect_server.py \
  hailo_robot_web_control.py \
  pi_ev3_rpyc_usb_client.py \
  ev3_start_rpyc_server.py

bash -n start_hailo_butter_alert.sh
bash -n start_hailo_robot_web.sh
bash -n start_hailo_webserver.sh

GitHub Action:

Weitere Dokumente und Artefakte

About

A Robot with a split architecture consisting of a raspberry pi 5 (4gb) with a ai hat and a libcam and a ev3dev (mindstorms) functioning as the physical body

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages