Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AI.js: Robots with Brains

AI.js: Robots with Brains

Take JavaScript robots to the next level - presented at JSConf US 2013

See the demo video: http://youtu.be/JKumEFyOvuI

Raquel Vélez

May 27, 2013
Tweet

More Decks by Raquel Vélez

Other Decks in Technology

Transcript

  1. AI.js: Robots with Brains One step closer to the robot

    invasion. Brought to you by @rockbot
  2. Robots come from research PhDs do research Research costs $$$$

    Robots “need” OOP & Threading (i.e. C++, Python)
  3. Step 1: eeeee eeeee eeeee eeee e eeeee 8 8

    8 88 8 8 8 8 8 " 8e 8 8 8 8e 8 8eee 8e 8eeee 88 8 8 8 88 8 88 e 88 88 88 8 8eee8 88ee8 88ee 88 8ee88 8ee88 eeeee eeee eeeee e eeeee e eeeee eeeee eeeee eeeee 8 " 8 8 8 8 8 8 8 8 8 8 88 8 8 8 8eeee 8eee 8eee8e 8e 8eee8 8e 8eee8 8 8 8eee8e 8e 88 88 88 8 88 88 8 88 88 8 8 88 8 88 8ee88 88ee 88 8 88 88 8 88eee 88 8eee8 88 8 88 (node.js serialport) @voodootikigod
  4. Forward Kinematics with vektor var vektor = require('vektor'), Homog =

    vektor.homog, Vector = vektor.vector, Rotate = vektor.rotate, H0, H1, H2, H3, endEff; H0 = Homog(Rotate.RotX(0), new Vector([0, 0, 0])); H1 = H0.dot( Homog(Rotate.RotZ(angles[0]), 0) ); H2 = H1.dot( Homog(Rotate.RotZ(angles[1]), new Vector([100,0,0])) ); H3 = H2.dot( Homog(0, new Vector([100,0,0])) ); endEff = T3.getPoint();
  5. Robots v. NodeBots Traditional (C++) JavaScript (Node.js) Multi-threaded Single-threaded Well

    established Just getting started Top tools and funding All our pennies together Brilliant People You, me, and all our friends
  6. Robots v. NodeBots Traditional (C++) JavaScript (Node.js) Research & Papers

    Open Source $$$$$ Open Source Compile, Load, Boot, Hope, Pray F5 / ⌘-R Get a PhD Get started
  7. Go.