Extension on objc.io's Quadrocopter Project
###Motivation
This project attempts to add a Flight Plan feature to Parrot's AR Drone. It attempts to accomplish this without Parrot's Flight Recorder.
This by using two iOS devices: One device strapped to the drone and another acting as the "terminal" which the user interacts with.
The Red pin represents the Drone's Position and the Green pin represents the drones destination.
###Usage
####Building the Local Client or "Terminal"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
//Local
ClientViewController *cvc = [[ClientViewController alloc] init];
self.window.rootViewController = cvc;
[UIApplication sharedApplication].idleTimerDisabled = YES;
return YES;
}
####Building the Remote Client or the iOS device attached to the drone
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
//Remote
self.vc = [[ViewController alloc] initWithNibName:nil bundle:nil];
self.window.rootViewController = self.vc;
[UIApplication sharedApplication].idleTimerDisabled = YES;
return YES;
}
- Communication between the iOS devices is accomplished via the multi-peer connectivity introduced in iOS 7.
- Ability to land, Hover and choose a location which is outside the drone's range.
- Choosing a new waypoint is done by long pressing on the client map until a pin appears then tapping "GO".
This project is released under the MIT License.