Browser Bots









Glen Arrowsmith
@garrows

Bringing Nodebots To the browser


johnny-five

firmata

node-serialport
 - browser-serialport









 



PythoN Bots


Chrome Serial API

http://developer.chrome.com/apps/serial.html
http://developer.chrome.com/apps/app_usb.html

Chrome App (like extension) only.

Browser Bots

Build My Robot Classes


 

Node.Js/Johnny-Five



AWESOME



getUserMedia / Webcam


Web Rtc

Peer to Peer Video & Data

Gamepad API



More


Web Speech API

GeoLOCATION

Pretty GUI

Cloud API

Chrome Webstore


Start Hacking



Something is missing...

Not modularized

Needs NPM/Browserify

Highly customized

Not reusuable

No community

BRING NODEBOTS TO THE BROWSER


johnny-five

firmata

node-serialport
 - browser-serialport

Browser-Serialport

NPM/Browserify module that emulates node-serialport that connects to Chrome.serial API.

NPM
https://npmjs.org/package/browser-serialport

Source
https://github.com/garrows/browser-serialport

Demo
https://chrome.google.com/webstore/detail/serial-monitor/ohncdkkhephpakbbecnkclhjkmbjnmlo

FIrmata

var util = require('util'),
    events = require('events')
    browser = (chrome && chrome.serial) ? 'browser-' : '',
    SerialPort = require( browser + 'serialport').SerialPort;
Source
https://github.com/garrows/firmata
Pull request pending

Johnny-Five

Source
https://github.com/garrows/johnny-five

Demo
https://chrome.google.com/webstore/detail/johnny-five-demo/ikbnclceoeficmoaocnoggdaiacmalfo

What'S Next?

More devices
User accounts
3D robot modelling
P2P video streaming
SLAM (Simultaneous localization and mapping)
Object recognition
Become self aware - World domination

More?

Node Bots AU @nodebotsau
   http://nodebotsbris.eventbrite.com.au/
Node Bots @nodebots
   http://nodebots.io/
Andrew Fisher @ajfisher  
Anna Gerber @AnnaGerber
Will Gebers @wgebers
Glen Arrowsmith @garrows


Made with Slides.com