THE SERIES ON LEARNING APP PROGRAMMING FOR DJI DRONES

Introduction

Disclaimer: As an Amazon Associate I earn from qualifying purchases.

Please note: This post will be updated when I release a new part of this programming series. Check back from time to time of follow me on twitter to get the latest updates.

When I first saw the Ryze Tello drone it was love at first sight. The value what one gets for its price is tremendous.

These are some of the characteristics that make it an ideal beginner drone:

At some point the Tello might not be enough…


A tutorial on how to implement a UDP-listener with Swift.

In this post I am laying out the steps necessary to implement a UDP-listener by using Apples Network Framework. A SwiftUI-View will display all incoming UDP-messages. All code is available in a handy XCode-Playground.

On the “other side” is a UDP-sender which I have explained in this previous post:

This post is divided into the following sections:

I have created an XCode-Playground that displays all incoming messages in a SwitUI-View. Here is a little video showing it in action.

It can downloaded from here: UDP…


The "import Charts" statement in the ContentView gives you an error, despite adding the full Git-path to your settings? Not sure if this is an M1-related problem to be honest.


A tutorial on how to draw charts in a SwiftUI-application.

Every now and then I need to visualise data in some nice looking charts. This post will show how to draw charts in a SwiftUI-application.

Starting a charting-package from scratch was not an option due to time- and budget-constraints, so I had to look for existing solutions.

My vote fell for SwifUI-Charts which offers really nice looking graphs and an easy integration.

Setup and Project Configuration

We start by creating a project in XCode first.


THE SERIES ON LEARNING APP PROGRAMMING FOR DJI DRONES

Takeoff

In this part of the series we are finally getting airborne!

In the last three parts we have

This part is all about the DJIFlightController.

The DJIFlightController is the main class to actually bring the drone up into the air and safely back. This is exactly what the example app for this part is showcasing.

The Example App

This is how the app looks in an initial state, without the remote or the drone being connected to it.


Oxygen and Heart Rate Monitor Hacked

An Introduction to CoreBluetooth

This tutorial will provide a general approach on how to get data out of Bluetooth devices by using a heart rate and blood oxygenation monitor as an example device.

For this tutorial I am using:


A tutorial on scaling Jenkins build jobs across a Kubernetes cluster.

Based on the last tutorial on how to run Jenkins inside a Kubernetes cluster it is now time to leverage the Kubernetes infrastructure to scale build-jobs across the cluster.

Sample Build Jobs

First, two projects are needed for testing the setup. The jobs won’t do anything useful, they will just wait 10 seconds and then continue.

The jobs are being created by clicking on “New Item” in the dashboard and then by selecting “Freestyle Project”.


This post is a tutorial on how to set up a Jenkins instance running on Kubernetes.

There is also a previous tutorial on how to setup a Kubernetes cluster with K3s.

Jenkins Installation

As a very first step, a namespace is being created. All Jenkins related resources will be applied to it:

kubectl create namespace jenkins

A persistent volume claim is also required in a file called jenkins-pvc.yaml:

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: jenkins-claim
namespace: jenkins
spec:
storageClassName: local-path
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

This is applied with:

kubectl create -f jenkins-pvc.yaml -n jenkins

The deployment has to be…


Should there be a need for a private Git-repository on your Kubernetes cluster, this is the right place to learn how to set it up.

Gitea will be used as repository. It comes with a neatly maintained Helm-chart which makes life much easier.

If not done already, Helm needs to be installed first.

Helm Installation

There are several ways how to install Helm.

I am on macOS and can either install it with a script:

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
cat get_helm.sh

Or by using homebrew, which is the even quicker way:

brew install helm

Gitea Installation

The chart-repo needs to…


Photo by Maksym Kaharlytskyi on Unsplash

It is not always appropriate to push ones own container images to a public registry. This post shows a quick way to create a private image registry inside a K3s Kubernetes cluster.

Please note, that with the following manifest, when the registry resources are being removed from the cluster, all images will be removed as well. There is a TODO in the very last line of the manifest that addresses this.

Also important to note: The registry is unsecured. …

Tobias Wissmueller

Documenting my Tech-Stack

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store