Flightkit Tutorials
This document introduces the tutorials we provide for Flightkit.
Before You Begin
Before running any of the tutorials, ensure that you have installed Flightkit as described in the Getting Started Guide.
Styles and Conventions
The following style conventions are used in Bright Ascension tutorials.
Terminology - Highlights important terminology.
Highlights steps in the tutorial that requires user action. Steps are automatically numbered for reference.
|
Provides additional information that aids understanding or provides useful context. |
|
Offers helpful suggestions or advice that can enhance the learning experience. |
|
Draws attention to consequential information that should be carefully considered and taken into account. |
|
Advises readers of conditions that could lead to undesirable outcomes if handled incorrectly. |
|
Informs readers of critical risks that could lead to consequences. |
The Tutorials
Our tutorials are split up into introductory lessons titled "The Basics", and more advanced lessons titled "Developing Components". Although it is not a requirement, if you are unfamiliar with using Flightkit, we recommend you run through each tutorial in the order shown below.
Click on the tutorial names below to get started.
The Basics
The aim of these tutorials is to guide you through the basics of developing flight software with Flightkit.
Hello World 1
This is a basic introduction to Flightkit. It shows the different entities involved in writing flight software with Flightkit, and how they broadly relate to each other.
Hello World 2
This tutorial introduces some more features of components in Flightkit. It follows on from Hello World 1 and should give you a sense of how to handle user interaction with components.
Hello World 3
This tutorial continues to introduce what components can do in Flightkit, and how to use these features in deployments. It guides you through building a basic component for sending unprompted telemetry from flight to ground.
Developing Components
The aim of these tutorials is to show you how to write component types that help you solve real flight software problems.
Using a Service
This tutorial introduces services, and how to make use of them from components.
Unit Testing
This tutorial shows you how to write unit tests for component types. You’ll produce a unit test for the component you worked with in the previous tutorial.
Hardware Interaction 1
In this tutorial, the memory access service is introduced and used to interact with a light sensor on a Raspberry Pi Zero.
Hardware Interaction 2
This tutorial introduces the packet service, and uses it to receive asynchronous messages from a GPS receiver.