Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Enhancing drone application development using python and dronekit

187 Aufrufe

Veröffentlicht am

My slide on PyCon ID 2018 about how you can develop apps for drone using Python, Dronekit, and other libraries

Veröffentlicht in: Ingenieurwesen
  • Als Erste(r) kommentieren

Enhancing drone application development using python and dronekit

  1. 1. PyCon ID 2018 Enhancing Drone Application Development using Python and Dronekit.io Dony Riyanto • Application Section Head of World UAV Federation (WUAVF) chapter Indonesia • Initiator of “Asosiasi Sistem dan Technologi Tanpa Awak” - ASTTA National Unmanned System & Technology Association • Founder of 4Drone Asia • Founder of Xentinel Indonesia (homeland security & cyber security) • CTO of Meeber Technology Indonesia (PT)
  2. 2. Why drone? It's a “tomorrow's technology today” It's implemented from now for at least to 5-10 years next and more It is always on Gartner's Emerging Technology Hype Cycle 2017-2018 report It's becoming an innovation trigger sooner, even faster and better than IoT
  3. 3. Why drone? • Everybody talks about it: • Computer Electronic Show (CES Last vegas) • Gartners Emerging and Technology Trends • Industry • Military • Photography/Videography
  4. 4. Drone is result of complex skill combination • Electronics science • Mechanical science • Control System science • Aeronautics science • Computer science • Computer Imaging/Vision • Informatics science • Geographics / Geoinformatics science • Data science • Design science • Agriculture technology • Military technology • many more people think about this but the best portion is there
  5. 5. How drone works?
  6. 6. How drone works? (jokes)
  7. 7. How drone moves?
  8. 8. How drone moves?
  9. 9. That's all? No. Fix wings also a drone
  10. 10. A Predator is also a drone
  11. 11. Even Boeing develops drone • Boeing Phantom Eye. Cute right?
  12. 12. It's much bigger than ur though
  13. 13. Even boat, ROV, AGV is drone
  14. 14. James Gosling (java father) also make drone
  15. 15. Deep Condolence of Lion JT610 Salute to Syachrul Anto a Real Super Hero
  16. 16. Enough about drone. So why Python? • About 5-7 years ago, theres a popular drone named AR Drone • Made by a French company, Parrot • They made SDK for its drone with C++ • But a Javascript communities made a conference back in 2012-2015, to make drone application easier • Nodecopter (nodecopter.com) published an SDK that make javascript programmers can control their own drone and make many application • But, Parrot doen't make it • Goodbye Parrot
  17. 17. DIYdrone continue to make progress • Chris Anderson (former 'The Economist' writer, former Editor in Chief of 'Wired Managize') initiate diydrones.com. • Co-founding so called Ardupilot (or APM), a simple made drone flight controller with Arduino • And then he started a company, 3D Robotics (3DR) (also failed...) • Involved the next-gen FC, the so called Pixhawk • And continues as founder and chairman of the Linux Foundation's Dronecode Project, with help of some biggest tech company including Intel
  18. 18. Oh, BTW...Intel make a beautiful drone swarm
  19. 19. dronecode founded
  20. 20. dronecode
  21. 21. dronekit and pymavlink made with python
  22. 22. Diagram Main Ground Control Apps Your own GC Apps MavProxy (python) dronekit library pymavlink library Telemetry device Radio Remote Control Image Proccessing/Algo. BIM integration. Video processing. AI / CV / ML / DL Big Data Autopilot embedded PC with apps Wifi/Telemetry RTK application Simulator
  23. 23. Let's get started
  24. 24. Unfortunely (we need you guys)
  25. 25. Install dronekit-sitl
  26. 26. Install dronekit-sitl (contd.)
  27. 27. Install a Ground Controller
  28. 28. Install a Ground Controller (contd.)
  29. 29. Install a Ground Controller (contd.)
  30. 30. Install mavproxy
  31. 31. Install mavproxy (contd.)
  32. 32. Install mavproxy (contd.)
  33. 33. Install mavproxy (contd.)
  34. 34. Additional, install jmavsim
  35. 35. Install jmavsim (contd.)
  36. 36. Install jmavsim (contd.)
  37. 37. Or, you can connecting it with Microsoft AirSim Microsoft drone (and github) :D
  38. 38. Alright, connecting... 1. Run dronekit-sitl 2. Run mavproxy on opened port and define proxy port 3. Run main ground control (e.g QGroundControl) 4. An extra port will be opened from mavproxy 5. Open your favorit Python IDE 6. Code...
  39. 39. Running dronekit-sitl
  40. 40. Running mavproxy
  41. 41. Run and settingup QGroundControl
  42. 42. Code
  43. 43. A simple 'Go To' example
  44. 44. The code libraries arming taking off check altitude and fly to
  45. 45. Running the example
  46. 46. Yeay, I've made my first drone apps!
  47. 47. What's next? Objective? • Military purpose • Agriculture purpose • Homeland security purpose • High-risk Inspection purpose • GIS/Mapping purpose • etc Integration? • ROS Robotic Operating System • FlightGear • AI (follow me, follow object, etc) • Redudancy (switching FC) • Integration to Map Server / library • DashWare (OSD) • Swarming • Distance Piloting • Autonomous level 2 to 5 • Onboard realtime processing • Indoor mapping • Web based GCS • etc Vehicle? • Military Target Drone • Special purpose drone (remote sensing) • ROV • Rover • AGV • Boat
  48. 48. My Poject: TDLT • Target Drone Laser Trainer
  49. 49. Target Drone Laser Trainer Attitude status Gunnary status Missed Distance Indicator Enemy flying object position
  50. 50. Target Drone Laser Trainer
  51. 51. Target Drone Laser Trainer
  52. 52. Target Drone Laser Trainer Made with: • Python (of course) • Libraries: dronekit, pymavlink, mavelous • Lot and lot of codes
  53. 53. About Me My name is Dony Riyanto, and I would like to learn any technology I could. Please contact me via: Whatsapp +62 896 9109 8829 Telegram @donyriyanto Slideshare: slideshare.net/donyriyanto Email: dony.riyanto@xentinel.net
  54. 54. Thank You

×