File size: 4,622 Bytes
31a02b4
7aeb58b
7c5820a
7aeb58b
 
 
 
 
 
7c5820a
 
7aeb58b
 
 
 
 
 
 
 
 
 
4d238cb
 
 
 
 
7aeb58b
 
7c5820a
7aeb58b
 
 
 
 
 
 
 
 
 
7c5820a
7aeb58b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7c5820a
7aeb58b
 
 
 
 
 
 
 
 
c8be8af
 
7aeb58b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Mini Fleet</title>
  <link rel="preconnect" href="https://fonts.googleapis.com" />
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet" />
  <link rel="stylesheet" href="style.css" />
</head>
<body>
  <header class="hero">
    <div class="hero-text">
      <div class="emoji" aria-hidden="true">🤖🤖🤖</div>
      <h1>Mini Fleet</h1>
      <p class="tagline">Every Reachy Mini in the room, on one screen. One tap to put them all back in a known state.</p>
      <ul class="tags">
        <li>classroom</li><li>fleet</li><li>dashboard</li><li>tools</li>
      </ul>
    </div>
    <figure class="shot">
      <video autoplay loop muted playsinline poster="mini_fleet/assets/dashboard.jpg"
             aria-label="Mini Fleet resetting three simulated Reachy Minis from a mixed state to the same known state">
        <source src="mini_fleet/assets/demo.mp4" type="video/mp4" />
        <img src="mini_fleet/assets/dashboard.jpg" alt="Mini Fleet dashboard showing three simulated Reachy Minis" />
      </video>
    </figure>
  </header>

  <main class="container">
    <section class="why">
      <h2>Why</h2>
      <p>
        One Reachy Mini is a desk toy. Thirty is a classroom, and a classroom needs a teacher's view:
        which robots are online, what each is running, which one a student left with its motors off,
        and a way to reset them all before the next class without walking to every desk.
        Mini Fleet does that over each robot's local daemon API.
      </p>
    </section>

    <section class="grid">
      <div class="card">
        <h2>How it works</h2>
        <ol class="steps">
          <li><span>1</span><div><b>Install it on one robot</b>, or run <code>mini-fleet</code> on a laptop so no robot is tied up.</div></li>
          <li><span>2</span><div><b>Add robots by address</b> (<code>192.168.1.20</code>, <code>reachy-mini.local</code>). The list is saved.</div></li>
          <li><span>3</span><div><b>Watch the fleet:</b> online state, daemon version, current app, motors and installed apps, refreshed every 2&nbsp;s.</div></li>
          <li><span>4</span><div><b>Reset all:</b> stop each app, go to sleep, re-enable the motors, wake up, and optionally start a baseline app. The host robot nods when it's done.</div></li>
        </ol>
      </div>

      <div class="card">
        <h2>What's real</h2>
        <ul class="facts">
          <li>Built and tested against <b>simulated robots only</b>: three <code>reachy-mini-daemon --mockup-sim</code> instances on one laptop (SDK 1.14.0). I don't have hardware yet.</li>
          <li>Works as an installed robot app (served on port 8042) and as a standalone <code>mini-fleet</code> command.</li>
          <li>Calls happen server-side. The daemon only accepts cross-origin reads from localhost, so a browser page can't manage other robots on its own.</li>
          <li>Fleet actions only target robots on your list, and the host robot never stops itself.</li>
        </ul>
        <h3>Next</h3>
        <ul class="facts">
          <li>mDNS discovery of <code>reachy-mini.local</code> robots</li>
          <li>"3 robots behind on app X → update all" via <code>/api/apps/check-updates</code></li>
          <li>Test on real Lite and Wireless robots</li>
        </ul>
      </div>
    </section>

    <section class="card try">
      <h2>Try it without a robot</h2>
<pre><code>uv pip install reachy-mini "git+https://huggingface.co/spaces/jonathanberi/mini_fleet"
scripts/sim_fleet.sh start 3      # from a clone of this Space
mini-fleet --robot localhost:8000 --robot localhost:8001 --robot localhost:8002 --open</code></pre>
    </section>

    <section class="about">
      <p>
        Built by <a href="https://huggingface.co/jonathanberi" target="_blank" rel="noopener">Jonathan Beri</a>.
        Issues and ideas welcome in the Community tab.
      </p>
    </section>
  </main>

  <footer class="footer">
    <a href="https://huggingface.co/docs/reachy_mini" target="_blank" rel="noopener">Reachy Mini docs</a> ·
    <a href="https://github.com/pollen-robotics/reachy_mini" target="_blank" rel="noopener">SDK on GitHub</a> ·
    <a href="https://huggingface.co/spaces/pollen-robotics/reachy-mini-landing-page#apps" target="_blank" rel="noopener">More Reachy Mini apps</a> ·
    <a href="https://github.com/pollen-robotics" target="_blank" rel="noopener">Pollen Robotics</a>
  </footer>
</body>
</html>