๐ฎ Reachy Control Options
Web API - Easy Level
โ Capabilities
- โข Pre-recorded movements
- โข Dashboard access
- โข Status monitoring
- โข Keep-alive support
โ ๏ธ Limitations
- โข No direct motor control
- โข No custom movements
- โข Limited to library
- โข Requires backend start
๐ Example Code
// Current approach - Web API
fetch('http://reachy-mini.local:8000/api/move/play/recorded-move-dataset/pollen-robotics/reachy-mini-emotions-library/happy1', {
method: 'POST'
})
.then(response => response.json())
.then(data => console.log('Movement started:', data.uuid))๐ Feature Comparison
| Feature | Web API | SDK | Custom | Direct |
|---|---|---|---|---|
| Setup Difficulty | โญ | โญโญ | โญโญโญ | โญโญโญโญ |
| Direct Motor Control | โ | โ | โ | โ |
| Custom Movements | โ | โ | โ | โ |
| Camera Access | โ | โ | โ | โ |
| Real-time Control | โ | โ | โ | โ |
| Multi-client Support | โ | โ | โ | โ |
| Network Required | โ | โ | โ | โ |
| Safety Checks | โ | โ | โ | โ |
| Response Time | ~100ms | ~50ms | ~30ms | ~1ms |
| Programming Language | Any | Python | Any | Any |
๐ก Recommendations
For Demos & Testing:
Use the Web API - it's already set up and works with our keep-alive system. Perfect for showing emotions and pre-recorded movements.
For Development:
Install the Python SDK on your Mac. This gives you direct control without modifying the robot. Run: pip install reachy-sdk
For Production:
Deploy a custom server on Reachy via SSH. This allows WebSocket connections, AI integration, and custom endpoints for your AURION system.
For Research:
Direct hardware control if you need microsecond precision or are implementing custom control algorithms. Requires deep understanding of Dynamixel protocol.