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
Javier Cervantes
April 17, 2014
Programming
0
100
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
Tweet
Share
More Decks by Javier Cervantes
See All by Javier Cervantes
Continuous Delivery para todos @ SGNext
solojavier
0
95
Gobot.io y el internet de las cosas
solojavier
0
110
Deliberate Practice - Lightning Talk
solojavier
0
140
Golang - WePow Talks
solojavier
0
57
Server Provisioning and Configuration
solojavier
0
60
Evolución Robótica
solojavier
0
45
Duck Typing
solojavier
0
73
Re-evolución robótica
solojavier
0
80
Las pruebas primero
solojavier
0
54
Other Decks in Programming
See All in Programming
RubyKaigiで手に入れた HHKB Studioのための HIDRawドライバ
iberianpig
0
190
보일러플레이트 코드가 진짜 나쁜 건가요?
gaeun5744
0
360
プログラミング教育のコスパの話
superkinoko
0
110
CQRS+ES勉強会#1
rechellatek
0
380
爆速スッキリ! Rspack 移行の成果と道のり - Muddy Web #11
dora1998
0
140
Denoでフロントエンド開発 2025年春版 / Frontend Development with Deno (Spring 2025)
petamoriken
1
1.3k
GDG Super.init(version=6) - From Where to Wear : 모바일 개발자가 워치에서 발견한 인사이트
haeti2
0
540
eBPF Updates (March 2025)
kentatada
0
130
英語文法から学ぶ、クリーンな設計の秘訣
newnomad
1
260
体得しよう!RSA暗号の原理と解読
laysakura
3
510
本当だってば!俺もTRICK 2022に入賞してたんだってば!
jinroq
0
200
Going Structural with Named Tuples
bishabosha
0
150
Featured
See All Featured
Optimizing for Happiness
mojombo
377
70k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Thoughts on Productivity
jonyablonski
69
4.5k
A Philosophy of Restraint
colly
203
16k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
460
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
39
7.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.1k
How to train your dragon (web standard)
notwaldorf
91
5.9k
The Invisible Side of Design
smashingmag
299
50k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
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