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
時計仕掛けのCompose
mkeeda
1
300
負債になりにくいCSSをデザイナとつくるには?
fsubal
10
2.4k
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
120
WebDriver BiDiとは何なのか
yotahada3
1
140
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
140
Formの複雑さに立ち向かう
bmthd
1
860
社内フレームワークとその依存性解決 / in-house framework and its dependency management
vvakame
1
560
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
150
Conform を推す - Advocating for Conform
mizoguchicoji
3
690
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
910
もう僕は OpenAPI を書きたくない
sgash708
5
1.8k
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
790
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Faster Mobile Websites
deanohume
306
31k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Become a Pro
speakerdeck
PRO
26
5.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
Testing 201, or: Great Expectations
jmmastey
42
7.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Scaling GitHub
holman
459
140k
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