SlideShare a Scribd company logo
1 of 35







































Parrot Tutorials in Kotlin

More Related Content

What's hot

Revista plastic canvas variedad
Revista plastic canvas   variedadRevista plastic canvas   variedad
Revista plastic canvas variedadYasmile D.R
 
Optical brightener er i 13001-39-3 msds baoxu chemical additivesforpolymer do...
Optical brightener er i 13001-39-3 msds baoxu chemical additivesforpolymer do...Optical brightener er i 13001-39-3 msds baoxu chemical additivesforpolymer do...
Optical brightener er i 13001-39-3 msds baoxu chemical additivesforpolymer do...Dongguan Baoxu Chemical Technical Co.,Ltd.
 
Tutorial para instalar Windows 7 en Sun Virtualbox
Tutorial para instalar Windows 7 en Sun VirtualboxTutorial para instalar Windows 7 en Sun Virtualbox
Tutorial para instalar Windows 7 en Sun Virtualboxguestb89ea4
 
PostgreSQL on Kubernetes: Realizing High Availability with PGO (Postgres Ibiz...
PostgreSQL on Kubernetes: Realizing High Availability with PGO (Postgres Ibiz...PostgreSQL on Kubernetes: Realizing High Availability with PGO (Postgres Ibiz...
PostgreSQL on Kubernetes: Realizing High Availability with PGO (Postgres Ibiz...NTT DATA Technology & Innovation
 
Br. C.A.T. International Co. Limited
Br. C.A.T. International Co. LimitedBr. C.A.T. International Co. Limited
Br. C.A.T. International Co. LimitedManojKumar6714
 
Embedded Android Workshop with Pie
Embedded Android Workshop with PieEmbedded Android Workshop with Pie
Embedded Android Workshop with PieOpersys inc.
 
Voice Detection and Reverse Playback
Voice Detection and Reverse PlaybackVoice Detection and Reverse Playback
Voice Detection and Reverse Playbackjeevanprakash
 
Spring 2023 - Planning Studio VI- Digital Exhibition Catalogue
Spring 2023 - Planning Studio VI- Digital Exhibition CatalogueSpring 2023 - Planning Studio VI- Digital Exhibition Catalogue
Spring 2023 - Planning Studio VI- Digital Exhibition CatalogueCity and Regional Planning, METU
 

What's hot (10)

Revista plastic canvas variedad
Revista plastic canvas   variedadRevista plastic canvas   variedad
Revista plastic canvas variedad
 
Optical brightener er i 13001-39-3 msds baoxu chemical additivesforpolymer do...
Optical brightener er i 13001-39-3 msds baoxu chemical additivesforpolymer do...Optical brightener er i 13001-39-3 msds baoxu chemical additivesforpolymer do...
Optical brightener er i 13001-39-3 msds baoxu chemical additivesforpolymer do...
 
Tutorial para instalar Windows 7 en Sun Virtualbox
Tutorial para instalar Windows 7 en Sun VirtualboxTutorial para instalar Windows 7 en Sun Virtualbox
Tutorial para instalar Windows 7 en Sun Virtualbox
 
Diploma Certificate
Diploma CertificateDiploma Certificate
Diploma Certificate
 
F.Sc Degree
F.Sc DegreeF.Sc Degree
F.Sc Degree
 
PostgreSQL on Kubernetes: Realizing High Availability with PGO (Postgres Ibiz...
PostgreSQL on Kubernetes: Realizing High Availability with PGO (Postgres Ibiz...PostgreSQL on Kubernetes: Realizing High Availability with PGO (Postgres Ibiz...
PostgreSQL on Kubernetes: Realizing High Availability with PGO (Postgres Ibiz...
 
Br. C.A.T. International Co. Limited
Br. C.A.T. International Co. LimitedBr. C.A.T. International Co. Limited
Br. C.A.T. International Co. Limited
 
Embedded Android Workshop with Pie
Embedded Android Workshop with PieEmbedded Android Workshop with Pie
Embedded Android Workshop with Pie
 
Voice Detection and Reverse Playback
Voice Detection and Reverse PlaybackVoice Detection and Reverse Playback
Voice Detection and Reverse Playback
 
Spring 2023 - Planning Studio VI- Digital Exhibition Catalogue
Spring 2023 - Planning Studio VI- Digital Exhibition CatalogueSpring 2023 - Planning Studio VI- Digital Exhibition Catalogue
Spring 2023 - Planning Studio VI- Digital Exhibition Catalogue
 

More from Godfrey Nolan

Counting Cars with Drones
Counting Cars with DronesCounting Cars with Drones
Counting Cars with DronesGodfrey Nolan
 
Customising QGroundControl
Customising QGroundControlCustomising QGroundControl
Customising QGroundControlGodfrey Nolan
 
DJI Mobile SDK Tutorials in kotlin
DJI Mobile SDK Tutorials in kotlinDJI Mobile SDK Tutorials in kotlin
DJI Mobile SDK Tutorials in kotlinGodfrey Nolan
 
Getting started with tensor flow datasets
Getting started with tensor flow datasets Getting started with tensor flow datasets
Getting started with tensor flow datasets Godfrey Nolan
 
Using ML to make your UI tests more robust
Using ML to make your UI tests more robustUsing ML to make your UI tests more robust
Using ML to make your UI tests more robustGodfrey Nolan
 
Counting sheep with Drones and AI
Counting sheep with Drones and AICounting sheep with Drones and AI
Counting sheep with Drones and AIGodfrey Nolan
 
Writing Secure Mobile Apps for Drones
Writing Secure Mobile Apps for DronesWriting Secure Mobile Apps for Drones
Writing Secure Mobile Apps for DronesGodfrey Nolan
 
The Day We Infected Ourselves with Ransomware
The Day We Infected Ourselves with RansomwareThe Day We Infected Ourselves with Ransomware
The Day We Infected Ourselves with RansomwareGodfrey Nolan
 
From Maps to Apps the Future of Drone Technology
From Maps to Apps the Future of Drone TechnologyFrom Maps to Apps the Future of Drone Technology
From Maps to Apps the Future of Drone TechnologyGodfrey Nolan
 
Tableau 10 and quickbooks
Tableau 10 and quickbooksTableau 10 and quickbooks
Tableau 10 and quickbooksGodfrey Nolan
 
Network graphs in tableau
Network graphs in tableauNetwork graphs in tableau
Network graphs in tableauGodfrey Nolan
 

More from Godfrey Nolan (20)

Counting Cars with Drones
Counting Cars with DronesCounting Cars with Drones
Counting Cars with Drones
 
Customising QGroundControl
Customising QGroundControlCustomising QGroundControl
Customising QGroundControl
 
DJI Payload SDK
DJI Payload SDKDJI Payload SDK
DJI Payload SDK
 
DJI Mobile SDK Tutorials in kotlin
DJI Mobile SDK Tutorials in kotlinDJI Mobile SDK Tutorials in kotlin
DJI Mobile SDK Tutorials in kotlin
 
Drone sdk showdown
Drone sdk showdownDrone sdk showdown
Drone sdk showdown
 
AI/ML in drones
AI/ML in dronesAI/ML in drones
AI/ML in drones
 
Getting started with tensor flow datasets
Getting started with tensor flow datasets Getting started with tensor flow datasets
Getting started with tensor flow datasets
 
Using ML to make your UI tests more robust
Using ML to make your UI tests more robustUsing ML to make your UI tests more robust
Using ML to make your UI tests more robust
 
Java best practices
Java best practicesJava best practices
Java best practices
 
Counting sheep with Drones and AI
Counting sheep with Drones and AICounting sheep with Drones and AI
Counting sheep with Drones and AI
 
Writing Secure Mobile Apps for Drones
Writing Secure Mobile Apps for DronesWriting Secure Mobile Apps for Drones
Writing Secure Mobile Apps for Drones
 
Android Device Labs
Android Device LabsAndroid Device Labs
Android Device Labs
 
The Day We Infected Ourselves with Ransomware
The Day We Infected Ourselves with RansomwareThe Day We Infected Ourselves with Ransomware
The Day We Infected Ourselves with Ransomware
 
Agile Android
Agile AndroidAgile Android
Agile Android
 
Agile Swift
Agile SwiftAgile Swift
Agile Swift
 
Android Refactoring
Android RefactoringAndroid Refactoring
Android Refactoring
 
Agile mobile
Agile mobileAgile mobile
Agile mobile
 
From Maps to Apps the Future of Drone Technology
From Maps to Apps the Future of Drone TechnologyFrom Maps to Apps the Future of Drone Technology
From Maps to Apps the Future of Drone Technology
 
Tableau 10 and quickbooks
Tableau 10 and quickbooksTableau 10 and quickbooks
Tableau 10 and quickbooks
 
Network graphs in tableau
Network graphs in tableauNetwork graphs in tableau
Network graphs in tableau
 

Parrot Tutorials in Kotlin

Editor's Notes

  1. M30 is available now DJI Dock will be next year at the earliest
  2. DJI Dock is
  3. The Anafi 4k and Anafi Thermal are now end of lifed, you may be able to find them on ebay ($500) Anafi USA is a Blue UAS drone for the US military and first responders, thermal camera, approx. $7k Anafi USA comes in a few flavors, USA, USA Gov and USA mil Anafi Ai is the new mantis like drone we can see here, it’s $4k
  4. DJI Dock is
  5. Embed your code on the drone with Air SDK Create mobile apps with Ground SDK Customize open-source GCS with OpenFlight (iOS) Use state-of-the-art drone simulation tool with Sphinx Develop python scripts with Olympe Process video and metadata with PDrAW Air SDK is for the new Anafi AI, we’ll cover that in a future talk Ground SDK is a Ground Control Station (GCS) framework for mobile devices. It allows  developers to create a mobile application, controlling the drone directly from the mobile device. All the aircraft features (control, video, settings) are accessible through an easy-to-use and fully documented API. Open-source ground control station For the first time, we are open-sourcing our ground control station application. OpenFlight is the open-source core of our famous FreeFlight 7 application. As a developer, you can focus on adding your features and immediately get a professional-looking result in your app. Parrot Sphinx is a state-of-the-art drone simulation tool for Parrot drones. Parrot Sphinx relies on cutting-edge and industry-standard components (Gazebo and Unreal Engine) for photorealistic render and accurate simulation. PDrAW is an advanced video viewer for Parrot drones media. The viewer supportsstreamed (RTSP) and recorded (MP4) videos. PDrAW also handles the embedded video metadata. Those are publicly accessible and documented, allowing advanced processing of aerial videos. Use Python to control drones Olympe is a Ground Control Station (GCS) python framework. It allows developers to interact with the simulation environment Sphinx. Olympe can also control physical drones from a remote computer, using the controller radio.
  6. Sphinx runs on a linux box, needs to be pretty beefy but not much different from what Windows 11 requires Not sure how to create our own environments yet but I could see how this would be useful for testing object detection PLAY VIDEO
  7. DEMO – all encompassing, same as DJI
  8. Everything is up on a public repo which you can find at https://github.com/godfreynolan/GroundSdkKotlinTutorials We tried to add a step by step readme to help you recreate the apps - SHOW Didn’t get to everyone just yet
  9. Step by step walkthrough in the tutorial
  10. The demo is written in Java, does a whole lot of things – telemetry, video, pictures, head up display Like the DJI demo it can be a bit daunting as your first intro
  11. We cloned the original sample in the Parrot repo And added a step by step walkthrough which you can find in the second link WHY 3 LINKS?
  12. The tutorial below demonstrates how to import the Parrot Ground SDK into a new Android project and implement basic video streaming and flight features (take off and land). Similar steps can be taken for integrating the SDK into an existing application.
  13. The Hello Drone tutorial does a pretty good job of putting it all together too. https://developer.parrot.com/docs/groundsdk-android-samples/
  14. GO TO THE README AND SHOW THE CONTENTS
  15. This tutorial is designed for you to gain a basic understanding of the Parrot Ground Sdk. It will implement the FPV view and two basic camera functionalities: Take Photo and Record video.
  16. ActiveState: sample code to display the active state of a camera CameraMode: sample code to display and change the camera mode (photo capture or video recording) StartStop: sample code to manage a button to start/stop photo capture and video recording WhiteBalanceTemperature: sample code to display and change custom white balance temperature
  17. Ok, so in this example we’re recreating the DJI media manager using the Parrot SDK
  18. In this tutorial, you will learn how to use several important groundsdk device peripherals, classes, and interfaces to interact with the media stored on the drone's SD card including MediaStore, StreamServer, MediaDownloader, MediaDeleter, MediaStoreWiper, StreamServer and MediaDestination. By the end of this tutorial, you will have an app that you can use to preview photos, play videos, download or delete files and so on. In order for our app to manage photos and videos, the drone must first have media existing on its SD Card. Fortunately, by using Parrot's FreeFlight 6 app or the Camera groundsdk tutorial app, you can easily capture media on the drone.
  19. In this code we’re getting an instance of the drone's MediaStore which we use to monitor the media content on the drone's SD card. Every time there is a change to the media contents of the SD card, the indexing state, number of photos, and number of videos on the SD card will be sent to sharedViewModel. The HomeFragment will observe these values and use them to update its UI. On each MediaStore update, a list of the media items from the drone's SD card is obtained and saved to mediaItemList. We then use the fetchThumbnailOf() function to obtain the thumbnail image of each media item in the media list as a Bitmap and send it to thumbnailObserverRef. The thumbnailObserverRef will then send these images to sharedViewModel where HomeFragment will be able to observe the images and use them to update its recycler view UI.
  20. In this example, you implement the automated mission feature. We locate ourselves in the map, set a number of waypoints, set the altitude and then fly the drone. PLAY THE VIDEO
  21. mavlink
  22. PDrAW (pronounced like the name Pedro) is a viewer for videos produced by Parrot drones (Anafi). It supports both streamed (RTP/RTSP) and recorded (MP4) videos.
  23. PDrAW on the Anafi is an interface for creating a heads up display on the video or photos, it can be either real time or you can post process the video. This is interesting if you want to do any Augmented Reality type apps. For example painting the screen with information from a third party API such as a real estate API to pull related info to the GPS co-ordinates. This example is pulling telemetry data from the drone and painting the screen with it. Unfortunately the Anafi version is version is a low level OpenGL interface written in C++, the new Anafi Ai will allow you to do this using protobufs, so I’m hoping that’s a lot easier to work with.
  24. Here is a graph of PDrAW’s video pipeline:
  25. This activity allows the application to connect to a drone. It displays the connection state, the video stream and reads the drone quaternion from frame metadataV3 received from the overlayer.
  26. Quaternion is shown by x, y, z and w
  27. Quaternion is shown by x, y, z and w So this is just a very simple version of the Pedro example we had earlier.
  28. displays the connection state and the thermal video stream As well as showing how to use different thermal palettes.
  29. Quaternion is shown by x, y, z and w So this is just a very simple version of the Pedro example we had earlier.
  30. DJI Dock is