Skip to main content

Provides a lightweight environment to help you learn NASA’s core Flight System (cFS) and create app-based solutions for your projects

Project description

core Flight System (cFS) Basecamp

cFS Basecamp provides a lightweight environment to help you learn NASA’s core Flight System (cFS) and create app-based solutions for your projects. Basecamp's default cFS target runs on Linux and includes an app suite that provides a complete operational environment including support for onboard file management and transferring files between the ground and flight systems. The built-in hands-on tutorials allow you to be immediately productive. The Open Mission Stack website contains cFS educational material that includes cFS-based projects. These goal-oriented software/hardware projects rely on cFS Basecamp's Apps to provide the project functionality. The cFS Basecamp Python GUI automates the app integration process.

This 'App Store' approach is made possible by using a standard application framework that includes runtime JSON initialization files and by using the cfe-eds-framework cFS distribution that includes a CCSDS Electronic Data Sheets (EDS) toolchain. Each cFS application interface is defined using EDS specifications and the cfe-eds-framework build toolchain generates artifacts that are used by both the flight and ground software systems. App specification and packaging standards are being defined that will allow the cFS community to easily share apps.

For users who are working on a flight mission, the cFS Platform List provides links to additional cFS ports. Currently, there is no automated transition process from Basecamp’s command and telemetry GUI to a fully functional ground system.

Getting Started

Prerequisites

The system can be developed on any GNU/Linux development host. The following commands install the development packages for a Debian/Ubuntu environment. Other Linux distributions should provide a similar set of packages but, the package names and installation tool names may vary. If you're running on a Raspberry Pi with a 32-bit Raspbian operating system please refer to the cFS Raspberry Pi LED Control Project for details on how to configure and build the cFS.

sudo apt-get update -y 
sudo apt-get install -y build-essential
sudo apt-get install -y cmake
sudo apt-get install -y libexpat1-dev
sudo apt-get install -y liblua5.3-dev
sudo apt-get install -y libjson-c-dev
sudo apt-get install -y python3-dev
sudo apt-get install -y python3-pip
sudo apt-get install -y python3-tk
sudo apt install -y default-jre

Package Notes:

  • sudo apt-get update updates a platform's current package respositories
  • build-essential contains a C developer tool suite including gcc, libc-dev, make, etc.*
  • cmake must be at least v3.12 (This excludes Ubuntu 18.04 and earlier)
  • liblua5.3-dev must be at least v5.1
  • You can skip installing pip and replace the 'pip3 install' below with 'python3 -m pip install'
  • The Java Runtime Environment (JRE) is required to run the cFS performance monitor

The python appplication uses PySimpleGUI, Requests, paho-mqtt, and NumPy that can be installed with the following command:

pip3 install PySimpleGUI requests paho-mqtt numpy pymupdf

Clone Basecamp Repository

git clone https://github.com/cfs-tools/cfs-basecamp.git

Using Basecamp

Build the core Flight System Target

This must be done prior to running the python ground system because it creates python libraries that define the cFS app interfaces.

cd cfs-basecamp/cfe-eds-framework
make SIMULATION=native prep
make topicids

Run the Python Ground System Applcation

cd ../gnd-sys/app
. ./setvars.sh
python3 basecamp.py

Next Steps

cFS Basecamp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cfs_basecamp-1.13.4.tar.gz (15.5 kB view details)

Uploaded Source

File details

Details for the file cfs_basecamp-1.13.4.tar.gz.

File metadata

  • Download URL: cfs_basecamp-1.13.4.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.6

File hashes

Hashes for cfs_basecamp-1.13.4.tar.gz
Algorithm Hash digest
SHA256 c65bbb431f505af12eba32a61bfbb8762ee182f1ef7a6f72deadc0737915ab44
MD5 c07df2ea130a5394e313b12895007e99
BLAKE2b-256 9cfc7bf7bab2f5fc3d8bf87fb4f43ec1027d669b40a63ca6fc6e33078ed0a3f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page