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

AIRWOLF in 30 MINUTES

AIRWOLF in 30 MINUTES

I presented this 30 minute overview talk at Adobe MAX 2010 in Las Vegas to a group of about 40 designers and developers about how I reverse engineered the AR Drone protocol and hooked a quadcopter up to Flash & ActionScript for control.

Conference: http://www.adobemax.com/

Scott Janousek

May 04, 2010
Tweet

More Decks by Scott Janousek

Other Decks in Technology

Transcript

  1. Scott Janousek - 2010 TINKER 2. to manipulate unskillfully or

    experimentally Saturday, October 30, 2010
  2. Scott Janousek - 2010 “You can’t come up with new

    ideas without ‘messing’ around.” @joshuadavis Saturday, October 30, 2010
  3. Scott Janousek - 2010 Scott janousek Founder, Hooken Mobile Mobile

    & Device “Veteran” Work with many devices/platforms Gadget Geek AR Drone enthusiast Saturday, October 30, 2010
  4. Scott Janousek - 2010 ok, it wasn’t the best show

    ever. :) But, I always wanted to y ... Saturday, October 30, 2010
  5. Scott Janousek - 2010 native REMOTE CONTROL APPS Desktop Apps

    Windows Linux Mobile Apps iOS Android Saturday, October 30, 2010
  6. Scott Janousek - 2010 Yes, I knew native would be

    better, but ... I did wonder if I could hook up FLASH to this thing ...” Saturday, October 30, 2010
  7. Scott Janousek - 2010 Battery Life Lack of protocol documentation

    Indoor testing limits Network cong was time consuming Socket Support in AIR for Android limited Network Latency AR Drone currently has some bugs (both software & hardware) tech challenges Saturday, October 30, 2010
  8. Scott Janousek - 2010 Reverse Engineering Browse Wiki & Forums

    Download AR Drone SDK Examine C source code provided Figure out the open Protocol Saturday, October 30, 2010
  9. Scott Janousek - 2010 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,1000 Saturday, October 30, 2010
  10. Scott Janousek - 2010 command 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>\" Saturday, October 30, 2010
  11. Scott Janousek - 2010 setup + config Wi- Ad-hoc Wi-

    10.0.0.x physical network 10.0.0.x port 8080 10.0.0.1 port 8080 10.0.0.x port 8080 192.168.1.1 port 5556 192.168.1.2 port 5556 My “bandaid” My “reset button” MacBook Pro AR Drone DROIDX (Android) Airport Extreme Saturday, October 30, 2010
  12. Scott Janousek - 2010 AR DONE WiFi 192.168.1.1 (AD-HOC Network)

    SID : ardrone_XXXXXX Default data port 5556 Port 5557 is for video Not secure! No encryption! Saturday, October 30, 2010
  13. Scott Janousek - 2010 Summary AIR = Nice for Quick

    Prototyping AR Drone is an awesome “toy” Air Wolf - The Movie? I have lots more planned ... Saturday, October 30, 2010
  14. Scott Janousek - 2010 want to hear more? AIR Wolf

    at Wed 1pm - 2pm (Tomorrow) Might be more ight time for attendees Saturday, October 30, 2010