Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Chess flight software

NotificationsYou must be signed in to change notification settings

CHESS-mission/05_FS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the main repository of the CHESS flight software. It uses theNASA F' framework.

Getting Started

ReadF´ Discerning User’s Guide to discover the framework.Tutorials are a very good way to understand it.

More resources (Community Forum, Reference Application, F' Architecture Overview) are available onnasa.github.io/fprime

Follow this guide to start with CHESS FS development :Quick start guide

Prerequisites

  • Linux based OS (Ubuntu 18.04 viaWSL2 in our case)
  • GCC compiler GCC 7.5.0
  • CMake 3.5 or newer (3.10.2 used)
  • Python 3.5+, PIP and Python Virtual Environment

Installing

SeeQuick start guide for details.

F' tools installation

python3 -m venv ./fprime-venv. ./fprime-venv/bin/activatepython3 -m pip install --upgrade wheel setuptools pipcd fprimepython3 -m pip install ./Fw/Python ./Gds

F' compilation

Before compiling, you need to know if the flight sofrware will be used with the FPrime GDS or PUS demonstrator

In ./App/CMakeLists.txt comment and uncomment your choice

add_definitions(-D_PUS)     # to use PUS with GS#add_definitions(-D_GDS)    # to use F' GDS (without PUS)

fprime-util generatefprime-util build

Launch F' and GDS (Ground Software simulator)Prerequisites1. Run ADCS simulator2. Run EPS simulator

fprime-gds

## simulators### ADCS#### Installing```bashpip install python-statemachine

Running ADCS simulator

python3 ./simulators/ADCS/TcpMain.py

EPS

Installing

pip install python-statemachinesudo apt install libsocketcan-dev pkg-config libzmq3-dev

Running EPS simulator

sudo chmod +x ./simulators/EPS/zmqproxysudo ./simulators/EPS/zmqproxy&export LD_LIBRARY_PATH=./simulators/EPS/packages/csp/lib&& python3 ./simulators/EPS/CspMain.py

Demonstrator

Prerequisites

  1. Run ADCS simulator
  2. Run EPS simulator

Running Demonstrator

./gs/gs

The demonstrator is a TCP server. It will wait for a connection from Flight software and then, start sending and receiving packets

Running Flight solftware with demonstrator

./App/build-artifacts/Linux/bin/App -a 127.0.0.1 -p 27015

Running the tests

In05_FS/App run

fprime-util check --all

Deployment

FS can be build and deployed on a Raspberry Pi with

fprime-util generate raspberrypifprime-util build raspberrypi

You will needRaspberry Pi toolchain in/opt/rpi.

Binary generated inApp/bin/arm-linux-gnueabihf/App can be launched on the Pi after having started GDS without application on Linux

fprime-gds -n

SeeGPS tutorial for details.

F' also provide a custom topology RPI to test it on a Raspberry Pi, seehere.

Authors

About

Chess flight software

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp