Spaces:
Running
Running
Tweaking settings
Browse filesFiles changed (4)
- INFO.mdDeleted-95
- README.md+1-1
- rmscript_app/static/app.js+3-7
- rmscript_app/static/index.html+1-2
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495title: Rmscript Appemoji: 😻colorFrom: redcolorTo: redsdk: staticpinned: falseshort_description: Testing the Reachy Mini Script language
# RMScript App
Web IDE for programming Reachy Mini with rmscript - a kid-friendly scripting language.
## Features
- **Web-based editor** with syntax verification- **Real-time compilation** to robot commands- **Server-side execution** with proper timing and smooth movements- **Example scripts** to get started quickly
## Installation
### From the Daemon Dashboard
1. Open the Reachy Mini daemon dashboard at `http://localhost:8000`2. Navigate to the Apps section3. Search for "RMScript App" or paste this Space URL4. Click Install
### Manual Installation
```bashpip install rmscript-app```
## Usage
### Running the App
After installation, start the app from the daemon dashboard or run directly:
```bash# Start the daemon firstreachy-mini-daemon --sim # or -p /dev/ttyUSB0 for real robot
# Run the apppython -m rmscript_app.main```
Then open `http://localhost:8042` in your browser.
### Example Script
```rmscript"Wave hello"look leftantenna both upwait 1slook rightantenna both downwait 0.5slook center```
## RMScript Language
RMScript uses natural language commands:
- **Movement**: `look left`, `look right 45`, `turn left`- **Antennas**: `antenna up`, `antenna both down`- **Timing**: `wait 1s`, `wait 0.5s`- **Loops**: `REPEAT 3 ... END`- **Sounds**: `play soundname`- **Camera**: `picture`
See the [rmscript documentation](../rmscript/README.md) for the full language reference.
## Development
```bash# Clone and install in development modecd rmscript_apppip install -e .
# Run the apppython -m rmscript_app.main```
## Publishing to HuggingFace Spaces
```bash# Use the app assistantreachy-mini-app-assistant publish rmscript_app/```
This creates a static Space that serves as a catalog entry. The actual app runs locally when installed via the daemon dashboard.7 unmodified lines8910117 unmodified linesshort_description: Testing the Reachy Mini Script language---# Reachy Mini Script App7 unmodified lines8910117 unmodified linesshort_description: Testing the Reachy Mini Script language---# Reachy Mini Script App
22 unmodified lines2324252627282930313233343536371 unmodified line3940414243444546474849505122 unmodified lines// Example scriptsconst examples = {basic: `"Simple head movement"look leftwait 1slook rightwait 1slook center`,complex: `"Wave hello"look leftantenna both upwait 1slook right1 unmodified linewait 0.5slook center`,repeat: `"Repeat demo"REPEAT 3look leftwait 0.5slook rightwait 0.5sENDlook center`};22 unmodified lines232425262728293031323334351 unmodified line373839404142434445464722 unmodified lines// Example scriptsconst examples = {basic: `look leftwait 1slook rightwait 1slook center`,complex: `look leftantenna both upwait 1slook right1 unmodified linewait 0.5slook center`,repeat: `repeat 3look leftwait 0.5slook rightwait 0.5slook center`};
24 unmodified lines252627282930313224 unmodified lines<button class="secondary" onclick="clearEditor()">Clear</button></div><textarea id="editor" class="editor" placeholder='"My robot script"look leftwait 1slook right'></textarea>24 unmodified lines2526272829303124 unmodified lines<button class="secondary" onclick="clearEditor()">Clear</button></div><textarea id="editor" class="editor" placeholder='look leftwait 1slook right'></textarea>
INFO.mdDeleted-95
README.md+1-1
rmscript_app/static/app.js+3-7
rmscript_app/static/index.html+1-2