Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

drones

Slides for my drone presentation

  • Be the first to comment

  • Be the first to like this

drones

  1. 1. Controlling drones with JavaScript by Jasper Schulte
  2. 2. About me  From Amsterdam  By day: CTO  jasperschulte.nl  By night: Drone enthusiast
  3. 3. Goal of this talk  Showing you how to control multiple drones using JavaScript  Step 1: Choosing the right drone  Step 2: Controlling a single drone  Step 3: Controlling multiple drones at once  Questions: see me after the talk
  4. 4. You’re here at your own risk  But rest assured: these drones are not very powerful  Use a flat hand (like feeding a horse)  Just don’t point (your) fingers
  5. 5. Step 1: Choosing the right drone
  6. 6. Evolution of drones
  7. 7. Requirements  Cheap!  Can fly indoors  Not (too) dangerous  Have an interface for communication
  8. 8. The RyzeTech Tello  (Relatively) cheap: about $100  Light: 95 grams (incl. cage & battery)  UDP interface  No gps  Downwards facing camera
  9. 9. Downwards facing camera  Visual recognition of patterns on the ground  Keep the drone in place  Track distance moved  Hence the bedcovers!
  10. 10. Step 2: Controlling a single drone
  11. 11. Sending commands & receiving telemetry  Communication using UDP  “Best effort”: no immediate feedback  For now: Wait for a certain amount of time before sending next command
  12. 12. Do it
  13. 13. Step 3: Controlling multiple drones at once
  14. 14. What do we need for coordinated flight?  We need to know where the drones are relative to each other  We need to know where they are in a certain space
  15. 15. Introducing Mission Pads  Sold by same company  Mission Pads are recognized by downward facing camera  Every Mission Pad is unique  Drone calculates its relative position compared to the Mission Pad
  16. 16. Mission Pad grid  Mission Pads are placed in grid with known positions  By combining relative position to Mission Pad with known position of Mission Pad we know the position of the drone
  17. 17. Getting the relative position  Now we have  ID (2) of the current Mission Pad below the drone  Relative x (73) & y (18)
  18. 18. Calculate position
  19. 19. Generate the move command
  20. 20. Coordinated flight
  21. 21. How do they ‘dance’? 0, 0 160, 0 0, 80 160, 80 0, 160 160, 160 0, 240 160, 240 0, 320 160, 320 1 2 3 4
  22. 22. In conclusion
  23. 23. Lessons leared  Controlling drones is hard  Quality of sensor input  External factors  Get rid of  Your cats  Your plants  Be prepared to crash (a lot!)  You need to create your own command feedback system  Software on drone is not open source => limited control
  24. 24. Thank you!

×