Commit History
20 days ago
-
Settings page: full-width shadow under example buttons; red and blue accents
beth +1: Claude Fable 5.2The example buttons' shadow now sits under the whole open + copy pair rather than only the copy icon. The Open Block Console button's shadow is red, and the header's puzzle piece sits on blue with an orange shadow. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>3efd307 -
Restyle the settings page in WADSIH Lift-Off colours
beth +1: Claude Fable 5.2Each card takes one of the Lift-Off colours as its accent (top stripe, heading, button outlines), the example buttons get a colour each, and the status pills are outlined by state. Brighter text, 2px borders and a yellow focus ring for contrast. Still on a dark ground, to sit inside the dashboard. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>76da2fb -
Add a copy-link button to each example; style the API key box
beth +1: Claude Fable 5.2Each example on the settings page gets a small copy icon joined to its open button. It falls back to selection-based copy when the dashboard's frame refuses the clipboard API, and shows the link as text if both fail. The key field is a password input, which the text-input styling didn't cover. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>d5cdde4 -
Speak through the robot's speaker, not the computer's
beth +1: Claude Fable 5.2The say block played its MP3 with the OS player, which uses the default output device: on a laptop with a Mini Lite plugged in, the laptop's speakers. It now plays through the robot handle's play_sound, which goes to the Reachy Mini Audio card, and waits out the speech so the next block doesn't start early. The OS player remains the fallback when no robot audio is attached. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>eeb97b1 -
Add example programs to the settings page
beth +1: Claude Fable 5.2Four buttons (dance, face tracking, AI talk + emotion, voice chat), each opening the Block Console with that preset loaded. They go through /api/open-console like the main console button, since the dashboard swallows target="_blank". The page sends only the example's key; the URL opened always comes from the list in main.py. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>6947a14 -
Add voice chat: OpenAI Realtime through the robot's mic and speaker
beth +1: Claude Fable 5.2Serves the /voice_chat/* routes the Block Console's Voice Chat blocks call. The session runs in-process on the robot handle the app already holds, so it no longer needs the separate conversation app. - The OpenAI API key is entered on the settings page (:8042) and saved in ~/.reachy_mini_blockly/. No route on either port returns it, and only pages served from this machine can set or remove it. - A chat ends itself after 5 minutes and when the app stops. - The mic is muted while the robot speaks, so it doesn't interrupt itself. - Settings page: key field, test button, and a note to use Chrome or Edge rather than Safari on a Mac. Tested against a stand-in Realtime server and fake robot audio; not yet run against the real API or hardware. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>5feae11 -
Drop the direct-OpenCV camera fallback; read frames from the robot handle only
beth +1: Claude Fable 5.2The fallback released the daemon's media for the rest of the session, could land on the laptop's own webcam, and left the camera gone when nothing opened. A missing frame is now just "not right now", and callers poll again. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>7239d8d
-
Keep the bridge to this machine and its own console; pass speech text as data
beth +1: Claude Fable 5.1The bridge bound 0.0.0.0 with CORS open to every origin, so anyone on the same network could drive the robot and pull camera frames, and any web page could fire body-less POSTs such as /wake_up. It now binds 127.0.0.1, refuses requests from origins other than the Block Console (live, Vercel alias and the team's preview builds) or pages served from this machine, and rejects Host headers that don't name loopback, which closes DNS rebinding. The Windows speech fallback pasted the text into a PowerShell command with only straight quotes escaped. PowerShell also reads curly quotes as string delimiters, so "don't" with a smart apostrophe ended the string and ran the rest as code. The text now travels in an environment variable. macOS `say` gets "--" so text starting with a dash isn't read as a flag. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>c513975
-
Move antennas and body without a goto, so the head stays still
beth +1: Claude Fable 5.1The daemon's goto starts every axis from its measured position, and the head sags below its commanded target under its own weight. So an antenna only goto dipped the head to the sag and lifted it back over the move: a visible jerk on a block that shouldn't touch the head at all. Head-free moves now stream the daemon's set_target, which changes only the axes it's given, with the daemon's min-jerk easing applied bridge-side. Waits for a running move (e.g. wake-up) instead of being ignored, falls back to goto if the daemon stays busy, and honours stop. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>87539ce -
Add a combined move route; default move duration to 0.5s
beth +1: Claude Fable 5.1POST /move_together takes any mix of head rotation, head translation, antennas and body yaw and sends them as one goto, so they animate at the same time. Two separate blocks can't do that: a goto is a whole-body target and the second one takes over every axis of the first. Axes left out hold where the last block put them, matching the single-axis routes, and the same clamps apply. Every move route now shares one DEFAULT_MOVE_DURATION (0.5s) instead of a mix of 1.0s and 0.5s, including the preset-direction route that had it hardcoded. Also records that the bridge has been checked against reachy-mini 1.11.0: nothing it calls changed, scipy is no longer pulled in and is not needed, and the in-app OpenCV tracker stays because the daemon's own only reports face coordinates while it is driving the head. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>5820021 -
Serve the settings page on localhost, not 0.0.0.0
beth +1: Claude Fable 5.1The SDK uses custom_app_url as both the bind host and the address it hands the browser. Chrome has refused requests to 0.0.0.0 since v128, so the page loaded but every fetch out of it failed, its own /api/info included. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>93f8007
-
Make movement blocks compose; add head translation and body rotation
beth +1: Claude Opus 5 (1M context)A daemon goto is a whole-body target: every axis left out of the body is driven back to its default. So the bridge's single-axis routes cancelled each other -- a /set_antennas fired after /move_head snapped the head to neutral mid-swing (measured: yaw climbed to 0.197 rad, then back to -0.047 while the antennas reached target). Three changes fix it. Restate untouched axes. goto_preserving() fills head_pose, antennas and body_yaw so a route that only moves one of them holds the rest. Wait for the move. Preserving alone wasn't enough: with both gotos in flight the longer one held the other's axes for its whole duration and dragged them back (antennas ended at 0.08 rad instead of 0.52). Two overlapping whole-body gotos can't compose, so movement routes now block until the robot has finished, the pattern play_emotion already used. Stacked blocks sequence instead of overwriting each other; the client-side waits in blocks.html are now redundant. Hold the commanded target, not the measured…c60c35a -
Fix settings page latching onto a bad bridge URL; open console in a browser
beth +1: Claude Opus 5 (1M context)loadInfo() read /api/info without checking resp.ok. FastAPI answers a 404 with valid JSON ({"detail":"Not Found"}, content-type application/json), so .json() succeeded, info.bridge_url came back undefined, and BRIDGE became the literal string "undefined" -- sending every later call to <origin>/undefined/say and a 404. A page opened while the app was still starting, before register_routes had attached /api/info, stayed broken for its whole life. It now checks resp.ok and that bridge_url is a string, keeps the localhost:8080 default otherwise, and retries on the status poll so a page opened mid-restart heals itself. Also adds POST /api/open-console. The settings page is embedded in the dashboard, where a target="_blank" link has nowhere to go, so the button did nothing; opening from the app side gets a real browser window. The browser lands on this machine, which is the right answer anyway -- the console talks to the bridge on localhost, so it only ever works from here. Co-Authored-By…8c6d7d0 -
Reachy Blocks as a Reachy Mini app
beth +1: Claude Opus 5 (1M context)Ports the WADSIH Reachy Blocks desktop launcher to a managed Reachy Mini app, installable from the dashboard and publishable as a Hugging Face Space. The dashboard owns the daemon now, so everything that existed to start and supervise it is gone: the tkinter GUI, the PyInstaller thin build, the uv first-run bootstrapper, the daemon subprocess and its MuJoCo simulator fallback. What remains is the bridge the Block Console talks to, plus a settings page for the dashboard. The bridge keeps all 28 robot routes and needs no console-side change — it still serves :8080 with wildcard CORS. Two things did change: * The camera reads from the ReachyMini the app framework hands us instead of opening a second SDK connection. That removes the version-skew failure where a bridge-side SDK newer or older than the daemon silently produced no frames, since the app now runs in the venv the daemon launched it from. * Voice chat and the conversation-app proxy are dropped. Only one app can…1b3c792