AIR Wolf: Leveraging ActionScript to Control a Quadcopter

3,022 views
2,784 views

Published on

AIR Wolf: Leveraging ActionScript to Control a Quadcopter

EPISODE 2
“A Tale of Reverse and Forward Engineering”

Presented by Scott Janousek at 360|Flex in April of 2011.

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
3,022
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
259
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

AIR Wolf: Leveraging ActionScript to Control a Quadcopter

  1. 1. AIR WOLF Leveraging ActionScript to Control a Quadcopter EPISODE 2 “A Tale of Reverse and Forward Engineering”Scott Janousek - 2011
  2. 2. DISCOVERY EXPLORATION TINKERING EXPERIMENTATIONScott Janousek - 2011
  3. 3. Agenda INTRO DEMO(s) PROJECT AIR WOLF OUTROScott Janousek - 2011
  4. 4. INTROScott Janousek - 2011
  5. 5. MEScott Janousek - 2011
  6. 6. Scott janousek Founder, Hooken Mobile Long Time (Flash) Mobile Advocate Working on all kinds of devices & platforms “Gadget Geek” AR.Drone enthusiastScott Janousek - 2011
  7. 7. contact www.scottjanousek.com @scottjanousek www.hookenmobile.com @hookenmobileScott Janousek - 2011
  8. 8. AIR WOLF Project genesisScott Janousek - 2011
  9. 9. Growing up, I was a big fan of ...Scott Janousek - 2011
  10. 10. Scott Janousek - 2011
  11. 11. For those not familiar ....Scott Janousek - 2011
  12. 12. Season 4 introScott Janousek - 2011
  13. 13. Always wanted to y ...Scott Janousek - 2011
  14. 14. Scott Janousek - 2011
  15. 15. OptionsScott Janousek - 2011
  16. 16. The real dealScott Janousek - 2011
  17. 17. $$$ ... not to mention The whole “eyesight thing”Scott Janousek - 2011
  18. 18. hard core rcScott Janousek - 2011
  19. 19. Cool, but I never got into RC.Scott Janousek - 2011
  20. 20. mini rc TOYScott Janousek - 2011
  21. 21. Too cheap and “plastic-y”Scott Janousek - 2011
  22. 22. How about making something custom?Scott Janousek - 2011
  23. 23. DIY DRONESScott Janousek - 2011 http://www.diydrones.com
  24. 24. DIY http://blog.makezine.com/archive/2010/05/arduimu_quadcopter_drone.htmlScott Janousek - 2011
  25. 25. “Hey Scott, did you hear about ...”Scott Janousek - 2011
  26. 26. ar droneScott Janousek - 2011
  27. 27. AR.DRONEScott Janousek - 2011
  28. 28. Electric Powered “QUAD COPTER” (or quadro-copter)Scott Janousek - 2011
  29. 29. Scott Janousek - 2011
  30. 30. ADScott Janousek - 2011
  31. 31. ADScott Janousek - 2011
  32. 32. “ok, ok, the commercial is kind of silly ... but, let’s have a go at it ...”Scott Janousek - 2011
  33. 33. AR.drone DEMOSScott Janousek - 2011
  34. 34. AR.DRONE freeflight (native ios app)Scott Janousek - 2011
  35. 35. native remote demoScott Janousek - 2011
  36. 36. experimentScott Janousek - 2011
  37. 37. bci experimentScott Janousek - 2011
  38. 38. tracking experimentScott Janousek - 2011
  39. 39. There are more serious Drones out there besides AR.Drone ...Scott Janousek - 2011
  40. 40. OTHER COOL DRONE hardwareScott Janousek - 2011
  41. 41. hummingbird e.g. http://www.avinc.com/Scott Janousek - 2011
  42. 42. Scott Janousek - 2011Humming Bird Drone - Goverment R&D
  43. 43. civilian usesScott Janousek - 2011
  44. 44. RECENT uav USAGE CNN: “Flying Drone peers into Japan’s damaged reactors”Scott Janousek - 2011
  45. 45. echo quadrocopter R&DScott Janousek - 2011
  46. 46. ping pongScott Janousek - 2011
  47. 47. playing pianoScott Janousek - 2011
  48. 48. AIR WOLF project discussionScott Janousek - 2011
  49. 49. AR.DRONE hardwareScott Janousek - 2011
  50. 50. Scott Janousek - 2011 BTW: It costs about $300 USD
  51. 51. specsScott Janousek - 2011
  52. 52. more specsScott Janousek - 2011
  53. 53. “GUTS”Scott Janousek - 2011
  54. 54. 4 “props”Scott Janousek - 2011
  55. 55. underside Acoustic Sensors Indicator Light Reset Belly Camera UnpairScott Janousek - 2011
  56. 56. Cameras Belly Cam Front CameraScott Janousek - 2011
  57. 57. TROUBLE- SHOOTingScott Janousek - 2011
  58. 58. basic flightScott Janousek - 2011
  59. 59. pitch, yaw, rollScott Janousek - 2011
  60. 60. native remote control appsScott Janousek - 2011
  61. 61. native h.u.d.Scott Janousek - 2011
  62. 62. Native mobile Apps iOS AndroidScott Janousek - 2011
  63. 63. iphone - freeflightScott Janousek - 2011
  64. 64. androidScott Janousek - 2011
  65. 65. desktop - LINUX & windowsScott Janousek - 2011
  66. 66. “Yes, I know native is better in this case, but ... I wonder if I could connect to AR.Drone via ACTIONSCRIPT ...”Scott Janousek - 2011
  67. 67. SOFTWARE ar drone sdk vs. urbiScott Janousek - 2011
  68. 68. “old school”Scott Janousek - 2011
  69. 69. AR DRONE SDKScott Janousek - 2011
  70. 70. ardrone SDk Windows, Linux, Android, iOS supportScott Janousek - 2011
  71. 71. discoveryScott Janousek - 2011
  72. 72. ArchitectureScott Janousek - 2011
  73. 73. control FlowScott Janousek - 2011
  74. 74. Areas NavData (Video) Stream CmdsScott Janousek - 2011
  75. 75. PLANNINGScott Janousek - 2011
  76. 76. Cross Platform App Desktop Windows, Mac, Linux Mobile AIR for AndroidScott Janousek - 2011
  77. 77. Reverse Engineering 1. Download AR Drone SDK 2. Browse Wiki & Forums 3. Look at C Source Code provided 4. Figure out the open ProtocolScott Janousek - 2011
  78. 78. sdk 1.5 docsScott Janousek - 2011
  79. 79. forumsScott Janousek - 2011
  80. 80. APPARATUSScott Janousek - 2011
  81. 81. setup AR Drone MacBook Pro 192.168.1.1 port 5556 Ad-hoc Wi- 10.0.0.x port 8080 192.168.1.2 port 5556 DROIDX (Android) 10.0.0.x physical network Airport Extreme Wi- 10.0.0.x port 8080 10.0.0.1 port 8080 “bandaid” reset buttonScott Janousek - 2011
  82. 82. network configScott Janousek - 2011
  83. 83. internet sharingScott Janousek - 2011
  84. 84. airport configScott Janousek - 2011
  85. 85. ethernetScott Janousek - 2011
  86. 86. DEVELOPMENTScott Janousek - 2011
  87. 87. original PoCScott Janousek - 2011
  88. 88. at commandsScott Janousek - 2011
  89. 89. basic commands altitude max2m AT*CONFIG=1,"control:altitude_max","2000" Landing AT*REF=101,290718208 Takeoff AT*REF=102,290717696 Hovering AT*PCMD=201,1,0,0,0,0 gaz 0.1 AT*PCMD=301,1,0,0,1036831949,0 gaz -0.1 AT*PCMD=302,1,0,0,-1110651699,0 pitch 0.1 AT*PCMD=303,1,1036831949,0,0,0 pitch -0.1 AT*PCMD=304,1,-1110651699,0,0,0 yaw 0.1 AT*PCMD=305,1,0,0,0,1036831949 yaw -0.1 AT*PCMD=306,1,0,0,0,-1110651699 roll 0.1 AT*PCMD=307,1,0,1036831949,0,0 roll -0.1 AT*PCMD=308,1,0,-1110651699,0,0 pitch -30 deg AT*ANIM=401,0,1000 pitch 30 deg AT*ANIM=402,1,1000Scott Janousek - 2011
  90. 90. AT syntax AT*REF=<sequence>,<UI> AT*PCMD=<sequence>,<enable>,<pitch>,<roll>,<gaz>,<yaw> ( oat)0.05 = (int)1028443341 ( oat)-0.05 = (int)-1119040307 ( oat)0.1 = (int)1036831949 ( oat)-0.1 = (int)-1110651699 ( oat)0.2 = (int)1045220557 ( oat)-0.2 = (int)-1102263091 ( oat)0.5 = (int)1056964608 ( oat)-0.5 = (int)-1090519040 AT*ANIM=<sequence>,<animation>,<duration> AT*CONFIG=<sequence>,"<name>","<value>"Scott Janousek - 2011
  91. 91. at bits UI_BIT: 00010001010101000000000000000000 | |||| || | ||||+--0: Button turn to left | |||| || | |||+---1: Button altitude down (ah - ab) | |||| || | ||+----2: Button turn to right | |||| || | |+-----3: Button altitude up (ah - ab) | |||| || | +------4: Button - z-axis (r1 - l1) | |||| || +--------6: Button + z-axis (r1 - l1) | |||| |+----------8: Button emergency reset all | |||| +-----------9: Button Takeoff / Landing | | | | +-------------------18: y-axis trim +1 (Trim increase at +/- 1??/s) | | | +---------------------20: x-axis trim +1 (Trim increase at +/- 1??/s) | | +-----------------------22: z-axis trim +1 (Trim increase at +/- 1??/s) | +-------------------------24: x-axis +1 +-----------------------------28: y-axis +1Scott Janousek - 2011
  92. 92. Proof of ConceptScott Janousek - 2011
  93. 93. desktop appScott Janousek - 2011
  94. 94. “first flight”Scott Janousek - 2011
  95. 95. ardroneserverScott Janousek - 2011
  96. 96. walkthroughScott Janousek - 2011
  97. 97. android appScott Janousek - 2011
  98. 98. androidScott Janousek - 2011
  99. 99. ardroneclientScott Janousek - 2011
  100. 100. adobe max 2010 Video courtesy of @polygeek (Dan Florio)Scott Janousek - 2011
  101. 101. post-mortemScott Janousek - 2011
  102. 102. tech challenges Battery Life No Binary Sockets in AIR for Lack of protocol Android !!!! documentation Network Latency Indoor testing limits R&D Buggy Firmware (pre 1.5) Network cong was time confusingScott Janousek - 2011
  103. 103. “new school”Scott Janousek - 2011
  104. 104. URBI Universal Robot Body InterfaceScott Janousek - 2011
  105. 105. URBI FORGEScott Janousek - 2011
  106. 106. PSYKOKWAKScott Janousek - 2011
  107. 107. Urbi is an open source driver for multiple robotic systems. A driver has been developed that allows Urbi to interface with the AR Drone. So now you can control your drone with a laptop, joystick, keyboard, wii remote, etc. Urbi even allows you to write scripts to have the bot perform actions.Scott Janousek - 2011
  108. 108. urbi server launchScott Janousek - 2011
  109. 109. urbi client connectionScott Janousek - 2011
  110. 110. urbi launch script exampleScott Janousek - 2011
  111. 111. connecting to urbiScott Janousek - 2011
  112. 112. urbi scriptScott Janousek - 2011
  113. 113. ar.drone urbi commandsScott Janousek - 2011
  114. 114. walkthroughScott Janousek - 2011
  115. 115. demosScott Janousek - 2011
  116. 116. motion tracking control testScott Janousek - 2011
  117. 117. experimentScott Janousek - 2011
  118. 118. brain computer interface (b.c.i)Scott Janousek - 2011
  119. 119. BCI hardwareScott Janousek - 2011
  120. 120. visualizerScott Janousek - 2011
  121. 121. experimentScott Janousek - 2011
  122. 122. actionscript api AS3 API for Neurosky Mindset BCIScott Janousek - 2011
  123. 123. gostai studio & gostai labScott Janousek - 2011
  124. 124. Gostai Studio and Labs are IDEs that allow developers to interface with robotics, etc. It can be used with URBI. ULA files are markup files similar to MXML. Drag and Drop components are available.Scott Janousek - 2011
  125. 125. gostai labs ideScott Janousek - 2011
  126. 126. gostai ulaScott Janousek - 2011
  127. 127. outroScott Janousek - 2011
  128. 128. take aways AR Drone is an fun toy AIR, Flex = Prototyping made easy URBI & Gostai = great for hobby robotics Experiment, tinker, & have fun Air Wolf Movie? ... I hope so ... :)Scott Janousek - 2011
  129. 129. links ardrone.parrot.com @ardrone, facebook.com/Parrot.Official youtube.com/user/ARdrone diydrones.com www.ardrone- yers.com www.x-plane.com www. sherinnovation.com/?p= -auavScott Janousek - 2011
  130. 130. Thank youScott Janousek - 2011
  131. 131. @scottjanousek http://www.scottjanousek.comScott Janousek - 2011

×