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
110
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
100
Gobot.io y el internet de las cosas
solojavier
0
110
Deliberate Practice - Lightning Talk
solojavier
0
140
Golang - WePow Talks
solojavier
0
60
Server Provisioning and Configuration
solojavier
0
64
Evolución Robótica
solojavier
0
49
Duck Typing
solojavier
0
85
Re-evolución robótica
solojavier
0
85
Las pruebas primero
solojavier
0
58
Other Decks in Programming
See All in Programming
contribution to astral-sh/uv
shunsock
0
550
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
260
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
440
チームの境界をブチ抜いていけ
tokai235
0
230
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
980
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
140
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
530
技術的負債の正体を知って向き合う
irof
0
270
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
450
理論と実務のギャップを超える
eycjur
0
180
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.2k
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
890
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Six Lessons from altMBA
skipperchong
29
4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
A Modern Web Designer's Workflow
chriscoyier
697
190k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
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