Skip to content

CPompey1/cfs-basecamp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

core Flight System Basecamp

Provides a framework and tools for developing, downloading, and integrating core Flight System (cFS) applications into an operational system. A python Graphical User Interface (GUI) allows users to send commands to and receve telemetry from the cFS target. The GUI also facilitates user workflows for working with apps.

Basecamp includes the cfe-eds-framework cFS distribution which includes NASA's core Flight Executive (cFE) and CCSDS Electronic Data Sheets (EDS) support. 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. The cFS App Repositories contain apps that include EDS interface specifications so the apps can be downloaded and integrated into Basecamp system with minimal effort.

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.

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

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 v2.8.12
  • 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 python appplication uses PySimpleGUI, [Requests]](https://docs.python-requests.org/en/latest/), paho-mqtt, and [NumPy]https;//numpy.org/) that can be installed with the following command:

pip3 install PySimpleGUI requests paho-mqtt numpy

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

About

Provides a framework and tools for developing, downloading, and integrating core Flight System (cFS) applications into an operational system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 82.1%
  • Java 8.9%
  • Python 3.8%
  • CMake 3.2%
  • Lua 1.8%
  • Perl 0.1%
  • Other 0.1%