Giter Site home page Giter Site logo

pprzgcs's Introduction

Ground Control Station for Paparazzi UAV

GCS for Paparazzi UAV in C++/QT5, aiming at replacing the historical GCS in a near future.

GCS FP strip PFD

INSTALLATION

Precompiled binary

Precompilied binary is available only for Ubuntu 20.04 on amd64 architecture (intel 64 bits).

First, install the dependencies:

sudo apt install libxml2 libzip5 libproj15 libqt5xml5 libqt5network5 libqt5svg5 libqt5texttospeech5 libqt5widgets5 libqt5gui5 libqt5core5a

Download the .deb from latest release at https://github.com/Fabien-B/PprzGCS/releases/latest, then install it (adjust the filename as needed) :

sudo dpkg -i pprzgcs_*.deb

You can now launch PprzGCS from the paparazzi center via the Tools menu.

Build from sources

Ubuntu 20.04

Install the dependencies:

sudo apt install libsqlite3-dev libzip-dev qtbase5-dev libqt5svg5-dev libqt5texttospeech5-dev libproj-dev mesa-common-dev libglu1-mesa-dev

cd to the PprzGCS root, and get the submodules:

git submodule update --init --recursive

Build the needed libraries:

./build.sh libs

Now you should be able to build the app with:

./build.sh app

To be able to run it from the paparazzi center, you need to add the build/pprzgcs directory to your $PATH. Adapt this command and add it to your .bashrc:

export PATH="/path/to/PprzGCS/build/pprzgcs:$PATH"

You should now be able to launch it from the Paparazzi center.

If you want to run it from the terminal, set the PAPARAZZI_HOME and the PAPARAZZI_SRC environment variables to your paparazzi path, then just run ./build/pprzgcs/pprzgcs

Ubuntu 18.04

First, you need to install Qt5.12.0 or above.

Setup in your .bashrc the environnement variable Qt5_DIR for cmake to find Qt5:

export Qt5_DIR="/path/to/Qt/5.12.0/gcc_64/lib/cmake/Qt5"

Install the dependencies:

sudo apt install libsqlite3-dev libzip-dev mesa-common-dev libglu1-mesa-dev

cd to the PprzGCS root, and get the submodules:

git submodule update --init --recursive

Build the needed libraries:

build_proj=true ./build.sh libs

Now you should be able to build the app with:

./build.sh app

To be able to run it from the paparazzi center, you need to add the build/pprzgcs directory to your $PATH. Adapt this command and add it to your .bashrc:

export PATH="/path/to/PprzGCS/build/pprzgcs:$PATH"

You should now be able to launch it from the Paparazzi center.

If you want to run it from the terminal, set the PAPARAZZI_HOME and the PAPARAZZI_SRC environment variables to your paparazzi path, then just run ./build/pprzgcs/pprzgcs

Mac

PprzGCS have been successfully built for Mac, although is not yet officially supported. You are on you own ;-)

More details are given in the documentation

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.