Raquel Vélez
May 27, 2013
5.2k

# 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

May 27, 2013

## Transcript

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

invasion. Brought to you by @rockbot

9. ### Robots come from research PhDs do research Research costs \$\$\$\$

Robots “need” OOP & Threading (i.e. C++, Python)

13. ### 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

25. ### 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();