File size: 2,756 Bytes
ee6161a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dd86ab1
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>RMScript App - Reachy Mini</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>RMScript App</h1>
            <p class="subtitle">Web IDE for programming Reachy Mini with rmscript</p>
        </div>

        <div class="content">
            <div class="description">
                <h2>About</h2>
                <p>
                    RMScript App provides a web-based editor for writing and executing
                    <strong>rmscript</strong> - a kid-friendly programming language for Reachy Mini.
                </p>
                <p>
                    Write scripts using natural language commands like <code>look left</code>,
                    <code>turn right</code>, and <code>antenna up</code>, then execute them
                    directly on your robot with proper timing and smooth movements.
                </p>
            </div>

            <div class="features">
                <h2>Features</h2>
                <ul>
                    <li>Syntax highlighting and verification</li>
                    <li>Real-time compilation to robot commands</li>
                    <li>Server-side execution with proper timing</li>
                    <li>Example scripts to get started</li>
                    <li>Support for movements, waits, sounds, and pictures</li>
                </ul>
            </div>

            <div class="installation">
                <h2>Installation</h2>
                <p>Install this app from the Reachy Mini daemon dashboard:</p>
                <ol>
                    <li>Open the daemon dashboard at <code>http://localhost:8000</code></li>
                    <li>Navigate to the Apps section</li>
                    <li>Search for "RMScript App" or paste this Space URL</li>
                    <li>Click Install</li>
                </ol>
                <p>Or install manually:</p>
                <pre><code>pip install rmscript-app</code></pre>
            </div>

            <div class="example">
                <h2>Example Script</h2>
                <pre><code>"Wave hello"
look left
antenna both up
wait 1s
look right
antenna both down
wait 0.5s
look center</code></pre>
            </div>
        </div>

        <div class="footer">
            <p>
                <a href="https://github.com/pollen-robotics/reachy-mini">Reachy Mini</a> |
                <a href="https://huggingface.co/blog/pollen-robotics/make-and-publish-your-reachy-mini-apps">App Development Guide</a>
            </p>
        </div>
    </div>
</body>
</html>