KubOS Ecosystem¶
The KubOS system is designed to take care of every aspect of a satellite’s flight software.
Rather than operating as a single, monolithic entity, KubOS is comprised of a series of independent, yet interoperating components.
- Mission applications control and execute the logic necessary to accomplish mission goals
- Services expose hardware and system functionality with a controlled and uniform interface
- Kubos Linux provides the base operating system and the drivers needed to communicate with connected hardware devices
Information about how to develop and tie all of these components together for a particular mission can be found in the mission development section.
Mission Applications¶
Applications are user-level programs which can either be run as one-off executions or continuous processes.
Mission applications are anything that governs the behavior of the satellite. They govern state management, accomplish scripted tasks, monitor on-board behavior, and are generally the brains of the system.
Each application is typically dedicated to a certain mode or isolated task the satellite is supposed to accomplish to keep them lightweight and portable. They can be simple, such as a telemetry beacon app, or complex, such as a payload operations app.
Details about how to get started developing applications can be found in the mission app dev guide.
If you prefer to learn by doing, check out our tutorials section.
For more information about what applications will need to be developed in order to accomplish all the required mission logic, check out our Typical Required Mission Applications doc.
Services¶
Kubos services are defined as any persistent process that is used to interact with the satellite. Services rarely make decisions, but will allow the user to accomplish typical flight software tasks such as telemetry storage, file management, shell access, and hardware interaction.
All services expose their functionality via HTTP endpoints which accept GraphQL requests and return JSON responses. This behavior allows client programs which wish to communicate with a service to be written in any language.
There are three distinct kinds of services:
- Core services, as the name implies, provide the core functionality of the system. They are OBC-independent and are automatically included in KubOS. These services include things like OBC monitoring, telemetry management, delay-tolerant file transfer and shell access, and application management.
- Hardware services expose the functionality of a connected hardware device (ADCS, GPS, radio, etc) to the rest of the bus. They should be re-usable between missions. KubOS comes with support for a certain selection of pre-built hardware services.
- Payload services are hardware services which have been custom designed for a specific mission’s payload hardware. They are not intended to be re-used between missions.
Kubos Linux¶
Kubos Linux is a custom Linux distribution designed with embedded devices in mind.
It focuses on including only drivers that are useful for space applications (eg. I2C and SPI, rather than display drivers) and multi-layer system validation and recovery logic.
Official Kubos Linux installation files can be found in the kubos-linux-build releases page.
Guides for installing and interacting with Kubos Linux on a target OBC can be found in the Working with KubOS and an OBC section.
Information about creating a custom Kubos Linux build can be found in our Under the Hood section.
Tightly coupled with Kubos Linux is U-Boot, our bootloader of choice. U-Boot is responsible for loading Kubos Linux from permanent storage into RAM at boot time. It is also responsible for processing operating system upgrades and recovery, when necessary.