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
98
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
75
Gobot.io y el internet de las cosas
solojavier
0
93
Deliberate Practice - Lightning Talk
solojavier
0
110
Golang - WePow Talks
solojavier
0
49
Server Provisioning and Configuration
solojavier
0
51
Evolución Robótica
solojavier
0
42
Duck Typing
solojavier
0
69
Re-evolución robótica
solojavier
0
71
Las pruebas primero
solojavier
0
48
Other Decks in Programming
See All in Programming
Domain-Driven Transformation
hschwentner
2
1.5k
Three ways to use AI on Android: The Good, the Bad and the Ugly
marxallski
0
110
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
300
Code Reviews
bkuhlmann
4
900
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
440
Ruby Pattern Matching
bkuhlmann
0
930
2 週間で Twitter Bot を作ってみた
contour_gara
0
770
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
170
Tailwind CSSを本気でカスタマイズする方法
fsubal
14
5.5k
敵対的ポイフル
futabato
0
130
Let's learn code review
riofujimon
2
570
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
180
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Why Our Code Smells
bkeepers
PRO
331
56k
Making the Leap to Tech Lead
cromwellryan
125
8.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
A designer walks into a library…
pauljervisheath
201
23k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Bash Introduction
62gerente
605
210k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
KATA
mclloyd
16
12k
What the flash - Photography Introduction
edds
64
11k
A better future with KSS
kneath
231
16k
GraphQLとの向き合い方2022年版
quramy
33
12k
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