Logo Lanfrica

drwjkirkpatrick-web/dance-robot

Creator:
drw
Host:
AI-powered 18DOF hexapod dance robot that learns African dances from YouTube and curates a dance database. Raspberry Pi 5 + Hermes Agent. # πŸ•Ί Dance Robot **AI-powered 18DOF hexapod dance robot** β€” learns African dances from YouTube, iteratively refines them, and curates a dance database. Runs on **Raspberry Pi 5 (8GB)** with **Sense HAT (B)**, powered by onboard **Hermes Agent** with cloud LLM. --- ## Architecture ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ DANCE ROBOT BRAIN β”‚ β”‚ β”‚ β”‚ YouTube/Web ──→ DanceLearner ──→ PoseExtractor ──→ MoveMapper β”‚ β”‚ β”‚ β”‚ β”‚ Sense HAT ──→ AlwaysOnBeat ──→ BeatDetector ──→ DanceEngine ──→ ServoDriver (18DOF) β”‚ (IMU+mic) Detector (FFT+BPM) (routine exec) β”‚ β”‚ β”‚ β”‚ β”‚ Microphone ──→ VoiceLearner ──→ IntentParser ──→ PhraseCache β”‚ β”‚ β”‚ β”‚ β”‚ Hermes Agent ──→ Cortex (Cloud LLM) ──→ DecisionEngine β”‚ β”‚ (onboard) β”‚ β”‚ β”‚ └──→ IterationEngine ──→ DanceDB (SQLite) β”‚ β”‚ (expected vs actual) (versioned, curated) β”‚ β”‚ β”‚ β”‚ All modules ──→ EventBus ──→ SafetyGovernor ──→ Web Dashboard β”‚ β”‚ (async pub/sub) (8 checks) (FastAPI+WS) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` ## Features ### 🎡 Dance Learning - **YouTube β†’ Pose β†’ Move pipeline**: Search, download, extract poses, map to 18DOF servo angles - **8 African dance primitives**: Azonto, Gwara Gwara, Shaku Shaku, Alkayida, Zanku, Amapiano, Soukous, and more - **36 pre-built moves** across 6 categories (Body, Legs, Arms, Poses, Combos, African) ### πŸ”„ Iterative Refinement - **Expected vs Actual comparis …