Giter Club home page Giter Club logo

flightsoftware's Introduction

FlightSoftware

Build Status Coverage Status

Repository for all flight software, ground software, and test infastructure for Pathfinder for Autonomous Navigation. PAN's simulation software lives in psim.

Running tests with Docker (FlightSoftware)

docker build -t fsw .
docker run fsw ./tools/run_desktop_flight_tests.sh
docker run fsw ./tools/run_common_software_tests.sh
docker run fsw ./tools/run_ground_tests.sh
docker run fsw ./tools/verify_adcs_builds.sh
docker run fsw ./tools/verify_teensy_builds.sh

See the "Tools" directory to see how to run tests locally without Docker, and for many other useful items.

Locally running flight software unit tests (quickly)

pio test -e fsw_native_leader

You can modify the .ini files in configs/ to alter the pattern match against unit tests in order to run unit tests selectively.

Compiling and loading flight software for functional testing

Here are some possible options:

pio run -e fsw_native_leader                 (for HOOTL testing)
pio run -e fsw_teensy35_hitl_leader -t upload (for HITL testing with a Teensy 3.5)
pio run -e fsw_teensy36_hitl_leader -t upload (for HITL testing with a Teensy 3.6)
pio run -e fsw_flight_leader -t upload       (for HITL testing with pure flight code)

The binaries end up in .pio/build.

Running functional tests with ptest

Install ptest via the guide in the README in ptest, and then run from this directory, and with a virtual environment activated:

  python -m ptest runsim -c CONFIGFILE -t TESTCASE

Testing ADCS software

Check out configs/adcs.ini for a list of available environments.

flightsoftware's People

Contributors

tanishqaggarwal avatar shihaocao avatar fatimayousuf avatar athena255 avatar kylekrol avatar nhz2 avatar afoarce avatar knk38 avatar dependabot[bot] avatar srutiv avatar stewartaslan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.