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

Programming flying robots with JavaScript

Programming flying robots with JavaScript

Presentation given at LXJS.

Felix Geisendörfer

September 28, 2012
Tweet

More Decks by Felix Geisendörfer

Other Decks in Programming

Transcript

  1. Programming flying robots
    with node.js!
    Felix Geisendörfer, @felixge Sep 28, 2012 - LXJS

    View Slide

  2. transloadit.com

    View Slide

  3. Flying robots & node.js!

    View Slide

  4. Parrot AR Drone 2.0

    View Slide

  5. Parrot AR Drone 2.0
    • Sold as a toy
    • Controlled via iPhone/Android

    View Slide

  6. Let’s fly it

    View Slide

  7. Parrot AR Drone 2.0
    • 720p front facing camera (30 FPS)
    • 240p vertical camera (60 FPS)
    • 1 GHz 32Bit ARM Cortex A8 processor
    • 125 MB DDR2 Memory
    • Linux 2.6.32 that you can telnet into (running Busybox)
    • USB 2.0 connector
    • WiFi (b/g/n) Router

    View Slide

  8. Parrot AR Drone 2.0
    • 3 axis gyroscope (2000°/second precision)
    • 3 axis accelerometer (+-50mg precision)
    • 3 axis magnetometer (6° precision)
    • Pressure sensor (+-10 Pa precision)
    • Ultrasound sensors
    • Fully reparable - all components can be replaced
    • costs 300 euros

    View Slide

  9. Parrot AR Drone 2.0
    • Parrot wants people to make mobile game apps
    • Open / documented protocol
    • Firmware is closed source, but alternatives are available

    View Slide

  10. Let’s program it!

    View Slide

  11. But why?
    • Learn about debugging / running production systems
    • Artificial Intelligence, Image recognition
    • Example: PID Controllers

    View Slide

  12. https://github.com/felixge/node-ar-drone

    View Slide

  13. NodeCopter.js
    October 5, Berlin

    View Slide

  14. Thank you!
    @felixge

    View Slide