CoolFace
Apppublic

totosolat/reachy_mini_keyboard_teleop

sourceHugging Faceupdated 10mo agoView on Hugging Face
4likes
App README

๐ŸŽฎ Reachy Mini Keyboard Teleop

Web-based keyboard teleoperation app for Reachy Mini robot with real-time control interface.

๐ŸŒŸ Features

  • โ€”๐ŸŒ Web Interface: Modern, responsive web UI accessible from any browser
  • โ€”โŒจ๏ธ Real-time Keyboard Control: Direct keyboard input for robot control
  • โ€”๐Ÿ—บ๏ธ Multiple Keyboard Layouts: Support for AZERTY, QWERTY, and custom layouts
  • โ€”๐ŸŽฏ POV Mode: Toggle for inverted controls for different perspectives
  • โ€”๐Ÿ“ก WebSocket Communication: Real-time communication between interface and robot
  • โ€”๐Ÿ”ง Configurable Parameters: Adjust movement speed, rotation, antenna controls
  • โ€”๐Ÿ“Š Live Status Display: Real-time position and rotation feedback

๐Ÿš€ Installation

Install via the Reachy Mini app manager or manually:

bash
pip install reachy-mini-keyboard-teleop

๐ŸŽฎ Usage

  1. 1.Start the App: Launch via the Reachy Mini dashboard or directly
  2. 2.Open Web Interface: Navigate to http://127.0.0.1:8042 in your browser
  3. 3.Focus Page: Click "Focus for Keyboard Input" to capture keyboard events
  4. 4.Control Robot: Use the keys according to the displayed mapping

โŒจ๏ธ Default Key Mappings

QWERTY Layout

  • โ€”Movement: W/A/S/D (forward/left/back/right), R/F (up/down)
  • โ€”Rotation: I/K (pitch), J/L (roll), U/O (yaw)
  • โ€”Antennas: Q/E (left/right antenna)
  • โ€”Reset: Space (return to center)

AZERTY Layout

  • โ€”Movement: Z/Q/S/D (forward/left/back/right), R/F (up/down)
  • โ€”Rotation: I/K (pitch), J/L (roll), O/P (yaw)
  • โ€”Antennas: W/X (left/right antenna)
  • โ€”Reset: Space (return to center)

๐Ÿ”ง Configuration

  • โ€”Movement Speed: Adjust step size in millimeters
  • โ€”Rotation Speed: Adjust rotation step in degrees
  • โ€”Antenna Modes:
  • โ€”Mirror: Symmetric antenna movement
  • โ€”Incremental: Continuous adjustment
  • โ€”Independent: Separate control
  • โ€”POV Mode: Invert controls for different perspectives

๐Ÿ› ๏ธ Technical Details

  • โ€”Backend: FastAPI with WebSocket support
  • โ€”Frontend: Vanilla JavaScript with Tailwind CSS
  • โ€”Real-time Communication: WebSocket for low-latency control
  • โ€”Port: Runs on 127.0.0.1:8042 by default

๐Ÿ“ Customization

Edit keyboard_mapping.yaml to customize key bindings for different layouts.


Part of the Reachy Mini ecosystem by Pollen Robotics