~/talk

Controlling Droids™ with mruby & Go

Talkat RubyKaigi 2018 · 2018-05-31..06-02· [embedded-and-hardware, ruby]
links:none on file
slides:none on file

Claim: Ruby scripts run inside a Go event loop to control Sphero R2‑D2s over BLE, implemented by embedding mruby embedded in Go via go-mruby and calling GoBot drivers. BLE commands are reverse-engineered from packet captures using Android Bluetooth snoop logs (packets, sequence byte, mod‑256 checksum), then wrapped into driver functions that send the exact bytes. Result: a d2 library that runs multiple VMs concurrently and achieves concurrent control of multiple Sphero R2‑D2 over BLE in a single cross‑compilable binary.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:37Talk overview and motivation
  3. 4:38Exploring robot control libraries
  4. 7:05Bluetooth Low Energy challenges
  5. 12:51Capturing BLE traffic with Android
  6. 15:45Building the R2D2 driver in Go
  7. 17:27Integrating mruby with Go
  8. 19:34Hello World with mruby in Go
  9. 23:10Designing the D2 API
  10. 25:27Architecture of the D2 library
  11. 30:45Managing multiple Bluetooth connections
  12. 33:27Final demo and project summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.