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
98
Gobot.io y el internet de las cosas
solojavier
0
110
Deliberate Practice - Lightning Talk
solojavier
0
140
Golang - WePow Talks
solojavier
0
59
Server Provisioning and Configuration
solojavier
0
63
Evolución Robótica
solojavier
0
47
Duck Typing
solojavier
0
76
Re-evolución robótica
solojavier
0
82
Las pruebas primero
solojavier
0
56
Other Decks in Programming
See All in Programming
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
860
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
150
FormFlow - Build Stunning Multistep Forms
yceruto
1
190
童醫院敏捷轉型的實踐經驗
cclai999
0
190
iOSアプリ開発で 関数型プログラミングを実現する The Composable Architectureの紹介
yimajo
2
210
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
380
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
190
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
160
WindowInsetsだってテストしたい
ryunen344
1
190
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
850
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
320
A2A プロトコルを試してみる
azukiazusa1
2
1.1k
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Practical Orchestrator
shlominoach
188
11k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Documentation Writing (for coders)
carmenintech
72
4.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
YesSQL, Process and Tooling at Scale
rocio
173
14k
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