Coder Social home page Coder Social logo

px4 / fw-test-harness Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thomasgubler/fw-test-harness

1.0 17.0 2.0 1.31 MB

Fixed-wing Test Harness for the PX4 flight stack

License: Other

CMake 11.70% C++ 4.30% C 3.45% Python 79.81% Shell 0.74%

fw-test-harness's Introduction

Fixed-wing Test Harness

A simulation wrapper around the PX4 fixed-wing control stack. Flight dynamics is simulated with jsbsim. A html report with interactive graphs is generated after the simulation to which new plots can be added quickly.

The simulation is currently using the standard px4 attitude controller together with mTECS for altitude/speed control.

Setup

Archlinux

./setup_archlinux.sh

Build

Firmware

mkdir build
cd build
cmake ..
make

Run

cd fw_test_harness
python2 simulator.py

Add a plot

See the output_results function in simulator.py

some related .profile entries (need to improve packaging)

export PYTHONPATH=$SRCDIR/fw-test-harness/external/jsbsim/build/tests:$PYTHONPATH
export PYTHONPATH=$SRCDIR/fw-test-harness/build/fw_test_harness/build/lib.linux-x86_64-2.7:$PYTHONPATH
export LD_LIBRARY_PATH=$SRCDIR/fw-test-harness/build:$LD_LIBRARY_PATH

fw-test-harness's People

Contributors

thomasgubler avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.