Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Artoo : Ruby on robots
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Javier Cervantes
April 17, 2014
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Artoo : Ruby on robots
Framework para robótica, computación física y el internet de las cosas en ruby.
Javier Cervantes
April 17, 2014
More Decks by Javier Cervantes
See All by Javier Cervantes
Continuous Delivery para todos @ SGNext
solojavier
0
140
Gobot.io y el internet de las cosas
solojavier
0
120
Deliberate Practice - Lightning Talk
solojavier
0
170
Golang - WePow Talks
solojavier
0
72
Server Provisioning and Configuration
solojavier
0
77
Evolución Robótica
solojavier
0
66
Duck Typing
solojavier
0
120
Re-evolución robótica
solojavier
0
120
Las pruebas primero
solojavier
0
83
Other Decks in Programming
See All in Programming
Prismを使った型安全な暗号化_関数型まつり2026
_fhhmm
0
160
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
290
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
200
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
17k
今さら聞けない .NET CLI
htkym
0
170
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
0
120
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
420
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
800
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
0
1.5k
メールのエイリアス機能を履き違えない
isshinfunada
0
200
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
140
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
760
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
400
Are puppies a ranking factor?
jonoalderson
1
3.7k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
350
Scaling GitHub
holman
464
140k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
450
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
380
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Site-Speed That Sticks
csswizardry
13
1.4k
Documentation Writing (for coders)
carmenintech
77
5.4k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
280
Transcript
ruby on robots @artooio #ruby #robots @solojavier @ruby_gdl
"The future is already here, it's just not evenly distributed"
William Gibson
La re-evolución robótica esta aquí
Qué es artoo?
Framework para robótica escrito en ruby. Provee una interfaz simple
(pero poderosa) para crear soluciones que incorporen múltiples dispositivos de hardware
Dispositivos soportados
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Cómo funciona?
Conceptualmente influenciado por Sinatra Arquitectura soporta concurrencia y multi-hilos mientras
se ejecute en una version de ruby que lo soporte (JRuby/Rubinius) Creado utilizando Celluloid, Celulloid::IO y Reel
None
None
None
Instalación rvm install rbx-2.1.1 gem install artoo gem install artoo-sphero
ruby robot_code.rb
Ejemplos
Arduino + LED + botón require 'artoo' connection :arduino, :adaptor
=> :firmata, :port => '/dev/ttyACM0 ' device :led, :driver => :led, :pin => 13 device :button, :driver => :button, :pin => 2 work do on button, :push => proc {led.toggle} end
Parrot ARDrone 2.0 require 'artoo' connection :ardrone, :adaptor => :ardrone
device :drone, :driver => :ardrone work do drone.start drone.take_off after(25.seconds) { drone.hover.land } after(30.seconds) { drone.stop } end
sphero + arduino + wii chuck
None
Demo
Y ahora? Artoo docs http://artoo.io RobotOps http://robotops.com/ Proyectos hermanos http://cylonjs.com
http://gobot.io Re-evolución robótica http://sg.com.mx/sgvirtual/6/sessions/re-evolucion- robotica#.U0wYFOZdVj4
Pasa la voz #rubyOnRobots #robotOps #losrobots #artoo @artoio @hybrid_group @ruby_gdl