We wanted to do something with a quadcopter, but we didn’t yet have a detailed plan of what we wanted to build. Once we started experimenting with this, it quickly became apparent to us how complicated it is to work with real hardware. In the end, we had to cut quite a few corners to create something that would still end up as a self-contained project within a few days.
A periodical about best practices and advanced techniques in Objective-CEdit Remove Move
The Initial Plan Our first idea was to do some sort of indoor navigation of the drone using Bluetooth beacons. With an iPhone attached to the drone, it should be possible to derive its current position using triangulation from a bunch of iBeacons positioned in the room. At least, so we thought...Edit Remove Move
The AR Drone quadcopter is a small, Linux-based computer. Its WiFi interface acts as a WiFi hotspot. Once we've joined that, we can read the drone over WiFi at the IP address 192.168.1.1. UDP - User Datagram Protocol The communication with the drone happens over UDP, which is short for User Datagram Protocol.Edit Remove Move
In this article, we'll tie together all the different parts of our system and build the navigator app. This is the app that will run on the iPhone that's attached to our drone; you can check out the app on GitHub.Edit Remove Move
The client app is the component in this project that sends the target location coordinates to the phone strapped to the drone. It's a pretty simple task, but there are a few interesting bits to it, like the use of the new (as of iOS 7) Multipeer Connectivity APIs and NSSecureCoding.Edit Remove Move