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

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

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

    - now
  3. @felixge felixge npm modules

  4. @felixge felixge Audience • Heard of node.js? • Used node.js

    for something? • Node in production?
  5. felixge This Talk

  6. @felixge felixge This Talk • Write a node.js app •

    Deploy & run it in production • Ask me anything
  7. felixge The App

  8. @felixge felixge Blog App

  9. Blog tutorials are insanely boring and nobody should have to

    suffer through one of them again. Ever.
  10. @felixge felixge Robotics App

  11. felixge Why?

  12. @felixge felixge Benefits of robotics example apps • A small

    distributed system • Production environment • Many interesting aspects / challenges
  13. felixge The Robot

  14. @felixge felixge Parrot AR Drone 2.0

  15. felixge The Specs

  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
  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
  18. @felixge felixge Safety Warnings • Don’t be fooled, all drones

    want to kill people • The protection hull did not fit in my suitcase
  19. felixge Let’s fly it

  20. felixge Let’s program it

  21. @felixge felixge Plan • REST API to control the drone

    • GET /sensors • PUT /control
  22. felixge <Live Coding>

  23. felixge </Live Coding>

  24. felixge

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

  26. @felixge felixge The Node Copter

  27. @felixge felixge The Node Copter +

  28. @felixge felixge Berlin, Oct 5th

  29. @felixge felixge Berlin, Oct 5th

  30. @felixge felixge Berlin, Oct 5th

  31. @felixge felixge NodeCopter Worldwide • Dublin, Oct 20th • San

    Francisco, Oct 31st • Seattle, Nov 8 - 9 • Brighton, Nov 11 • ...
  32. felixge Summer of Drones June 2013 http://nodecopter.com/

  33. felixge That’s it Felix Geisendörfer

  34. felixge Ask me anything Felix Geisendörfer

  35. felixge Thank You Felix Geisendörfer