A journey to MRuby on LEGO robots
summary
Runs mruby on a LEGO EV3 by flashing ev3dev and cross-compiling with a Docker toolchain to produce statically linked mrb-gems and binaries (mrbc → C → binary). Uses Linux sysfs to read sensors and write motor commands, serves a small web UI, and the robot moves reliably; build on-device can take ~1 hour so cross-compilation is essential. Hardware is limited (300 MHz CPU, 64 MB RAM), so sensor polling shows noticeable latency and concurrency/display work remains to be implemented.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:10Quotes
- 4:12Robot demo
- 9:23EV3Dev
- 10:51MRuby
- 13:18Crosscompile
- 16:02Application
- 17:39Code
- 24:33Conclusion
related talks
29mmake mruby more portable: Why and How
34mmaking robots with mruby
36mWrite once, run on every boards: portable mruby
40mmmm..mruby, or why yet another Ruby implementation
36mDomo Arigato mruby Roboto
26mmruby: a Packaging Story Filled with Freedom
25mKickboxer vs Ruby - the state of MRuby, JRuby..
36m(m)Ruby on small devices
