$30 off During Our Annual Pro Sale. View Details »

The power of node.js (with quadcopters)

The power of node.js (with quadcopters)

Presentation given at øredev.

Felix Geisendörfer

November 05, 2012
Tweet

More Decks by Felix Geisendörfer

Other Decks in Programming

Transcript

  1. felixge
    The Power of Node
    Felix Geisendörfer

    View Slide

  2. @felixge
    felixge
    Background
    2005 - 2008 2008 - now 2009 - now

    View Slide

  3. @felixge
    felixge
    npm modules

    View Slide

  4. @felixge
    felixge
    Audience
    • Heard of node.js?
    • Used node.js for something?
    • Node in production?

    View Slide

  5. felixge
    This Talk

    View Slide

  6. @felixge
    felixge
    This Talk
    • Write a node.js app
    • Deploy & run it in production
    • Ask me anything

    View Slide

  7. felixge
    The App

    View Slide

  8. @felixge
    felixge
    Blog App

    View Slide

  9. Blog tutorials are insanely
    boring and nobody should
    have to suffer through one
    of them again.
    Ever.

    View Slide

  10. @felixge
    felixge
    Robotics App

    View Slide

  11. felixge
    Why?

    View Slide

  12. @felixge
    felixge
    Benefits of robotics example apps
    • A small distributed system
    • Production environment
    • Many interesting aspects / challenges

    View Slide

  13. felixge
    The Robot

    View Slide

  14. @felixge
    felixge
    Parrot AR Drone 2.0

    View Slide

  15. felixge
    The Specs

    View Slide

  16. @felixge
    felixge
    The Specs
    • WiFi (b/g/n) Router
    • 1 GHz 32Bit ARM Cortex A8 processor
    • 125 MB DDR2 Memory
    • Linux 2.6.32 you can telnet into it (Busybox)
    • 720p front facing camera (30 FPS)
    • 240p vertical camera (60 FPS)
    • USB 2.0 connector

    View Slide

  17. @felixge
    felixge
    The Specs
    • 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 ordered

    View Slide

  18. @felixge
    felixge
    Safety Warnings
    • Don’t be fooled, all drones want to kill people
    • The protection hull did not fit in my suitcase

    View Slide

  19. felixge
    Let’s fly it

    View Slide

  20. felixge
    Let’s program it

    View Slide

  21. @felixge
    felixge
    Plan
    • REST API to control the drone
    • GET /sensors
    • PUT /control

    View Slide

  22. felixge

    View Slide

  23. felixge

    View Slide

  24. felixge

    View Slide

  25. felixge
    3395,- SEK
    http://www.parrotshopping.com

    View Slide

  26. @felixge
    felixge
    The Node Copter

    View Slide

  27. @felixge
    felixge
    The Node Copter
    +

    View Slide

  28. @felixge
    felixge
    Berlin, Oct 5th

    View Slide

  29. @felixge
    felixge
    Berlin, Oct 5th

    View Slide

  30. @felixge
    felixge
    Berlin, Oct 5th

    View Slide

  31. @felixge
    felixge
    NodeCopter Worldwide
    • Dublin, Oct 20th
    • San Francisco, Oct 31st
    • Seattle, Nov 8 - 9
    • Brighton, Nov 11
    • ...

    View Slide

  32. felixge
    Summer of Drones
    June 2013
    http://nodecopter.com/

    View Slide

  33. felixge
    That’s it
    Felix Geisendörfer

    View Slide

  34. felixge
    Ask me anything
    Felix Geisendörfer

    View Slide

  35. felixge
    Thank You
    Felix Geisendörfer

    View Slide