This gives them advantages in precision and computation speed. Both FC are also popular in acro flying especially with mini quadcopter FPV racing. To do that, we will use the libARDiscovery.Naze32 and CC3D are both modern 32-bit Flight Controllers, compared to other 8-bit FC such as the KK2.1 or APM2. Discover the dronesįirst of all, you will need to discover the drones around you.
Here are the instruction about how to use the SDK to control the Bebop drone.
Then, in Android Studio, open the adle located in SDKSample/buildWithLocalSDK. Otherwise, if you want to use Android Studio build, first execute this command in : build.sh -p arsdk-android -t build-sample With Android Studio, open the adle located in SDKSample/buildWithPrecompiledSDK. Use the precompiled SDK (hosted on JCenter): If you prefer to build directly from XCode, use the buildWithLocalSDK configuration to use your localy compiled libraries (see go deeper to first compile your own SDK). build.sh -p arsdk-ios_sim -t build-sample -j for iOS simulator build.sh -p arsdk-ios -t build-sample -j for iOS Please note that the first time you’ll build with the precompiled SDK, it will download the precompiled libraries from Github, this might take a while. Use the buildWithPrecompiledSDK configuration to use the precompiled libraries (Product->Scheme->Edit Scheme). Use the precompiled SDK (hosted on Github): But you can also use the sample with your own compiled SDK. What if you want to only build an app for the Bebop?Īs said before, each mobile sample can be used without having to build the SDK: it will use the precompiled libraries. The mobile samples show you how to connect, pilot, take pictures, display video stream if available, and download medias from the drone. To enable this, they will use the precompiled SDK libraries. They are standalone, this means that you can clone the sample repo and use them without compiling the SDK. The mobile samples use the following architecture:
There is one example for iOS, one for Android and a few for Unix. To have a good overview of what you can do with the SDK, you can start by using and browsing the code of the samples we provide.įor that, simply clone the Sample repository: git clone
You’re all set, let’s start coding ! Use samples Load the native libraries (see code on the right).Add to the dependencies the following line compile 'com.parrot:arsdk:3.9.2'.In Other Linker Flags add -larcommands -larcontroller -lardiscovery -larnetwork -larnetworkal -larsal -larstream -larstream2 -larmavlink -ljson -larmedia -larutils -lcurl -lardatatransfer -lcrypto -lssl -lz Then fill these architectures with:įor any simulator SDK: PATH_TO_THE_UNZIPPED_FOLDER/iOS-iphonesimulator/staging/usr/libįor any iOS SDK: PATH_TO_THE_UNZIPPED_FOLDER/iOS-iphoneos/staging/usr/lib In Library Search Paths, add a Any iOS Simulator SDK and a Any iOS SDK architecture (both for Debug and Release). Then fill these architectures with:įor any simulator SDK: PATH_TO_THE_UNZIPPED_FOLDER/iOS-iphonesimulator/staging/usr/includeįor any iOS SDK: PATH_TO_THE_UNZIPPED_FOLDER/iOS-iphoneos/staging/usr/include In Header Search Paths, add a Any iOS Simulator SDK and a Any iOS SDK architecture (both for Debug and Release). Then click on your Target and finally click on Build Settings. In the Project Navigator in XCode, click on your project.First, download the binaries: SDK version 3.9.2 iOS libs.To get the libraries, you can either download the released ones, or build your own with the sources (see how to build the SDK). To use the sdk, you will need to add the libraries to your project. This SDK is mainly written is C, it provides libraries for Unix system, Android and iOS. You can use it on the Rolling Spider, Cargos, Jumping Sumo, Jumping Sumo Evos, Bebop Drone and Bebop 2.
The SDK will help you connect, pilot, receive stream, save and download medias (photo and video), send and play autopilot flight plans and update your drone.