project : air wolf (fitc unconference at adobe max 2010)
DESCRIPTION
In this session, Scott Janousek will discuss the process of getting a Flash application to talk with, and fly an AR Drone. What is an AR Drone? It's a new, battery powered quadcopter (See: http://www.ardrone.com/) made by Parrot, Inc. Yes, you read right, there will be a RC copter at this session, and it will be hooked up with Flash. Scott will discuss the lifecycle of the entire "AIR Wolf" project including the challenges and the final results achieved thus far. He'll will cover the basics of the AR Drone copter, the ins and outs of reverse engineering and integrating the SDK with Flash, building the remote control mobile apps for both Android (i.e. AIR for Android) and iOS devices (i.e. Adobe's iPhone Packager) as well as accessing Device APIs (e.g. Geolocation, Accelerometer). He'll also have some additional surprises that require "super top secret NDA" level clearance (just kidding!). If you ever wanted to be a helicopter pilot in your day dreams, this session is not to be missed. If not, just come and see a cool quadcopter in action powered by Flash!TRANSCRIPT
Scott Janousek - 2010
@scottjanousek
www.scottjanousek.com
Saturday, October 30, 2010
Scott Janousek - 2010
AIR WOLF“In under 30 Minutes”
Saturday, October 30, 2010
Scott Janousek - 2010
TINKER
2. to manipulate unskillfully or experimentally
Saturday, October 30, 2010
Scott Janousek - 2010
“You can’t come up with new ideas without ‘messing’
around.”
@joshuadavis
Saturday, October 30, 2010
Scott Janousek - 2010
WORK IN PROGRESS
Saturday, October 30, 2010
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
Scott Janousek - 2010Saturday, October 30, 2010
Scott Janousek - 2010
For those not familiar ....
Saturday, October 30, 2010
Scott Janousek - 2010Saturday, October 30, 2010
Scott Janousek - 2010Saturday, October 30, 2010
Scott Janousek - 2010
ok, it wasn’t the best show ever. :)
But, I always wanted to y ...
Saturday, October 30, 2010
Scott Janousek - 2010
Electric Powered “QUAD COPTER”
Saturday, October 30, 2010
Scott Janousek - 2010Saturday, October 30, 2010
Scott Janousek - 2010
native REMOTE CONTROL APPS
Desktop Apps Windows
Linux
Mobile Apps
iOS
Android
Saturday, October 30, 2010
Scott Janousek - 2010
native mobile h.u.d.
Saturday, October 30, 2010
Scott Janousek - 2010
freelight ios app
Saturday, October 30, 2010
Scott Janousek - 2010
project AIR WOLF
Saturday, October 30, 2010
Scott Janousek - 2010
some terms
Saturday, October 30, 2010
Scott Janousek - 2010
HArdware
Saturday, October 30, 2010
Scott Janousek - 2010
The AR Drone
Saturday, October 30, 2010
Scott Janousek - 2010
specs
Saturday, October 30, 2010
Scott Janousek - 2010
SOFTWARE
Saturday, October 30, 2010
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
Scott Janousek - 2010
Challenges
Battery Life
Lack of protocol documentation
Indoor testing limits
Network cong 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
Scott Janousek - 2010
DISCOVERYPHASE
Saturday, October 30, 2010
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
Scott Janousek - 2010
wiki & forums
Saturday, October 30, 2010
Scott Janousek - 2010
SDk
Windows, Linux, Android, iOS support
Saturday, October 30, 2010
Scott Janousek - 2010
sdk docs
Saturday, October 30, 2010
Scott Janousek - 2010
discovery
Saturday, October 30, 2010
Scott Janousek - 2010
at commands
Saturday, October 30, 2010
Scott Janousek - 2010
basiccommands
altitude max2m AT*CONFIG=1,\"control:altitude_max\",\"2000\"Landing AT*REF=101,290718208Takeoff AT*REF=102,290717696Hovering AT*PCMD=201,1,0,0,0,0gaz 0.1 AT*PCMD=301,1,0,0,1036831949,0gaz -0.1 AT*PCMD=302,1,0,0,-1110651699,0pitch 0.1 AT*PCMD=303,1,1036831949,0,0,0pitch -0.1 AT*PCMD=304,1,-1110651699,0,0,0 yaw 0.1 AT*PCMD=305,1,0,0,0,1036831949yaw -0.1 AT*PCMD=306,1,0,0,0,-1110651699roll 0.1 AT*PCMD=307,1,0,1036831949,0,0roll -0.1 AT*PCMD=308,1,0,-1110651699,0,0pitch -30 deg AT*ANIM=401,0,1000pitch 30 deg AT*ANIM=402,1,1000
Saturday, October 30, 2010
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)-1090519040AT*ANIM=<sequence>,<animation>,<duration>AT*CONFIG=<sequence>,\"<name>\",\"<value>\"
Saturday, October 30, 2010
Scott Janousek - 2010
APPARATUS
Saturday, October 30, 2010
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 808010.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
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
Scott Janousek - 2010
flash demos
Saturday, October 30, 2010
Scott Janousek - 2010
desktop app
Saturday, October 30, 2010
Scott Janousek - 2010
air android app
Saturday, October 30, 2010
Scott Janousek - 2010
air for android
Saturday, October 30, 2010
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
Scott Janousek - 2010
links
ardrone.parrot.com
@ardrone, facebook.com/Parrot.Ofcial
youtube.com/user/ARdrone
diydrones.com
ashmobile.scottjanousek.com
www.adobe.com/mobile
Saturday, October 30, 2010
Scott Janousek - 2010
HAVE FUNwith what you do!
Saturday, October 30, 2010
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
Scott Janousek - 2010
@scottjanousek
www.scottjanousek.com
Saturday, October 30, 2010