• Stars
    star
    171
  • Rank 215,679 (Top 5 %)
  • Language
    Objective-C
  • License
    BSD 3-Clause "New...
  • Created over 9 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Samples

This repo contains sample files to show you how to use the SDK.

Mobile samples

The mobile samples use the following architecture:
alt mobile_uml

They are standalone, this means that you can clone this repo and use them without compiling the SDK. To enable this, they will use the precompiled SDK libraries.

The mobile samples show you how to connect, pilot, take pictures, display video stream if available, and download medias from the drone.

They support the following drones:

  • Bebop 2
  • Bebop
  • JumpingSumo
  • Jumping Race
  • Jumping Night
  • MiniDrone Rolling Spider
  • Airborne Cargo
  • Airborne Night
  • Swing
  • Mambo

And the following remote controller:

  • SkyController
  • SkyController 2

What if you want to only build an app for the Bebop? Simply delete other files than

  • DeviceListActivity
  • DroneDiscoverer
  • BebopActivity
  • BebopVideoView
  • BebopDrone
  • SDCardModule

As said before, each mobile sample can be used without having to build the SDK: it will use the precompiled libraries. But you can also use the sample with your own compiled SDK.

iOS

SDKSample

Use the precompiled SDK (hosted on Github):
Use the buildWithPrecompiledSDK configuration to use the precompiled libraries (Product->Scheme->Edit Scheme).
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.
By using the precompiled libraries, you don't need to download the sdk source files neither to compile the sdk.

Use your own compiled SDK:
You can build this sample with Alchemy. In your <SDK> execute this command:

./build.sh -p arsdk-ios -t build-sample -j for iOS ./build.sh -p arsdk-ios_sim -t build-sample -j for iOS simulator

Otherwise, if you want to use Xcode to build, first execute this command in <SDK>:
./build.sh -p arsdk-ios -t build-sdk

Then, in XCode, use the buildWithLocalSDK configuration to use your freshly compiled sdk libraries. (Product->Scheme->Edit Scheme).

Please note that there are two targets in the iOS sample: SDKSample and SDKSampleForSkyController2.
The first one is using -lardiscoverywithouteacc in its Other Linker Flags list and does not include the ExternalAccessory framework. However SDKSampleForSkyController2 uses -lardiscovery and includes ExternalAccessory framework.

Android

SDKSample

Use the precompiled SDK (hosted on JCenter):
With Android Studio, open the settings.gradle located in SDKSample/buildWithPrecompiledSDK.
By using the precompiled SDK, you don't need to download the sdk source files neither to compile the sdk.

Use your own compiled SDK:
You can build this sample with Alchemy. In your <SDK> execute this command:

./build.sh -p arsdk-android -t build-sample

Otherwise, if you want to use Android Studio build, first execute this command in <SDK>: ./build.sh -p arsdk-android -t build-sample-jni

Then, in Android Studio, open the settings.gradle located in SDKSample/buildWithLocalSDK.

Native samples

BebopSample

This example enables you to connect to a Bebop drone and send and receive commands to pilot it and get its battery level. It also receives the video stream.

To use it, you'll need to download and compile your own sdk.
Once done, in the sdk root folder, you can build the sample:
./build.sh -p arsdk-native -t build-sample-BebopSample -j Then run it:
./out/arsdk-native/staging/native-wrapper.sh ./out/arsdk-native/staging/usr/bin/BebopSample

or if you are on a MacOs computer:
./out/arsdk-native/staging/native-darwin-wrapper.sh ./out/arsdk-native/staging/usr/bin/BebopSample

JumpingSumoSample

This example enables you to connect to a JumpingSumo and send and receive commands to pilot it and get its battery level. It also receives the video stream.

To use it, you'll need to download and compile your own sdk.
Once done, in the sdk root folder, you can build the sample:
./build.sh -p arsdk-native -t build-sample-JumpingSumoSample -j Then run it:
./out/arsdk-native/staging/native-wrapper.sh ./out/arsdk-native/staging/usr/bin/JumpingSumoSample

or if you are on a MacOs computer:
./out/arsdk-native/staging/native-darwin-wrapper.sh ./out/arsdk-native/staging/usr/bin/JumpingSumoSample

External contributions

Contributions from external developers are located in the Contributions folder, then sorted again by OS. The name of the contributors/authors for each samples are written in the Contributions/CONTRIBUTORS.txt file.

More Repositories

1

ARSDKBuildUtils

Python
189
star
2

RollingSpiderEdu

Rolling Spider software package for Education
C
85
star
3

olympe

Python controller library for Parrot Drones
Python
76
star
4

sequoia-ptpy

Python library used to communicate with PTP devices like Parrot Sequoia
Python
46
star
5

arsdk_manifests

44
star
6

openflight-ios

OpenFlight is the open-source core of FreeFlight7.
Swift
44
star
7

node-flower-bridge

[Ble/Cloud bridge] Synchronize your Flower Powers with a raspberry. Now you can take holidays safely.
JavaScript
36
star
8

librtsp

librtsp - Real Time Streaming Protocol library
C
29
star
9

Docs

TeX
26
star
10

FlowerPower-Tools

usefull scripts / code for Flower Power
Python
26
star
11

pdraw

Parrot Drones Awesome Video Viewer
C++
24
star
12

libpomp

Printf Oriented Message Protocol
C
23
star
13

groundsdk-android

Parrot Ground SDK for Android
Java
23
star
14

alchemy

Build System
Makefile
18
star
15

DronesWear

Source code of an Android app which controls Parrot drones with an Android wear device.
Java
17
star
16

groundsdk-ios

Parrot Ground SDK for iOS
Swift
16
star
17

bch

Generic binary BCH encoding/decoding library
C
14
star
18

slamdunk_ros

Parrot S.L.A.M.dunk ROS Integration
C++
13
star
19

arsdk-xml

Python
13
star
20

librtp

RTP (Real-time Transport Protocol) library
C
11
star
21

lttng2lxt

A simple tool for viewing LTTng traces in GTKWave
C
11
star
22

arduplane-disco-manifest

repo manifest for a workspace allowing to build ArduPlane for Parrot Disco
10
star
23

libARController

Python
10
star
24

Drone-Swift-Playgrounds

Parrot Swift Playgrounds activity book for iOS
10
star
25

libvideo-decode

Video decoding library
C
10
star
26

groundsdk-manifest

This is the global manifest for Parrot Ground SDK.
10
star
27

ARSDK3

Java
9
star
28

firmwared

System daemon for running firmwares in containers
C
9
star
29

libvideo-metadata

Parrot Drones video metadata library
C
9
star
30

libshdata

Lock free shared-memory library
C
9
star
31

libmp4

MP4 file library
C
8
star
32

mavlink

Python
8
star
33

MinidronesEdu

Educational resources for Parrot Minidrones
7
star
34

telemetry

Drone telemetry library and tools based on shared memory (libshdata)
C++
6
star
35

libsdp

libsdp - Session Description Protocol library
C
6
star
36

libARCommands

Python
6
star
37

application_notes

C
5
star
38

ulog

Minimalistic logging library derived from Android logger
C
5
star
39

groundsdk-android-samples

Samples for GroundSDK-Android
C
5
star
40

airsdk-samples

C++
4
star
41

slamdunk_obstacle_avoidance_example

Parrot S.L.A.M.dunk obstacle avoidance example ROS node
C++
4
star
42

fusion

C / linux convenient libraries, for I/O asynchronous handling, containers and more
C
4
star
43

libh264

H.264 bitstream reader/writer library
C
4
star
44

bebop_mavlink_ctrl

With the executable test_gcs it is possible to control the bebop using xbox controller.
C
4
star
45

libARMedia

C
3
star
46

Drone-Swift-Playgrounds-source-XCode11.1

Source code of Parrot Swift Playgrounds book, based on Apple official Template
Swift
3
star
47

pod_sdkcore

CocoaPod - Parrot Drone SDK, low level implementation
Objective-C
3
star
48

libfutils

Library containing some common useful functions (list, hash, time)
C
3
star
49

libmux

Mux/Demux data over a single link.
C
3
star
50

libvideo-buffers

Video buffers library
C
2
star
51

Drone-Swift-Playgrounds-source-XCode10.2

Parrot Drone Swift Playgrounds Book, based on new Swift_Playgrounds_Author_Template_for_Xcode_10.2
Swift
2
star
52

arsdk-ng

C
2
star
53

libARSAL

C
2
star
54

sequoia

2
star
55

pod_groundsdk_demo

CocoaPods -GroundSdk Demo App
Swift
2
star
56

pod_groundsdk

CocoaPod - Parrot Drone SDK
Swift
2
star
57

logger

C++
2
star
58

groundsdk-ios-samples

Samples for GroundSDK-iOS
C
2
star
59

libvideo-defs

C
1
star
60

libARDiscovery

C
1
star
61

json-c

Makefile
1
star
62

libARNetworkAL

C
1
star
63

libyuv

C++
1
star
64

libmedia-buffers

C
1
star
65

libARStream

C
1
star
66

Drone-Swift-Playgrounds-source

Parrot Education Swift Playground source code
Swift
1
star
67

groundsdk-tools-manifest

1
star
68

ledd-ng

Ledd is a daemon responsible of controlling the leds of a product.
C
1
star
69

libvideo-streaming

Video streaming library
C
1
star