GithubHelp home page GithubHelp logo

manu-tej / qgroundcontrol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mavlink/qgroundcontrol

0.0 2.0 0.0 180.38 MB

QGroundControl Ground Control Station

Home Page: http://qgroundcontrol.org

License: Other

Python 0.04% C++ 67.06% QML 6.47% QMake 0.69% Java 0.90% Shell 0.04% NSIS 0.01% Groff 1.11% CMake 0.06% C 15.17% HTML 7.60% CSS 0.20% Makefile 0.05% Visual Basic 0.57% Objective-C++ 0.02%

qgroundcontrol's Introduction

QGroundControl

Open Source Micro Air Vehicle Ground Control Station

Travis Build Status Appveyor Build Status

Gitter

Obtaining source code

Source code for QGroundControl is kept on GitHub: https://github.com/mavlink/qgroundcontrol.

git clone --recursive https://github.com/mavlink/qgroundcontrol.git

Each time you pull new source to your repository you should run git submodule update to get the latest submodules as well. Since QGroundControl uses submodules, using the zip file for source download will not work. You must use git.

Supported Builds

QGroundControl builds are supported for OSX, Linux, Windows and Android. QGroundControl uses Qt as it's cross-platform support library and uses QtCreator as it's default build environment.

  • OSX: OSX 10.7 or higher, 64 bit, clang compiler
  • Ubuntu: 64 bit, gcc compiler
  • Windows: Vista or higher, 32 bit, Visual Studio 2013 compiler
  • Android: Jelly Bean (4.1) and higher
  • Qt version: 5.5.1 (or higher)

Install QT

You need to install Qt like this instead of using packages from say a Linux distribution because QGroundControl needs access to private Qt headers.

  • Download the Qt installer
    • Ubuntu: Set the downloaded file to executable using:chmod +x. Install to default location for use with ./qgroundcontrol-start.sh. If you install Qt to a non-default location you will need to modify qgroundcontrol-start.sh in order to run downloaded builds.
    • Windows: Default installer not quite correct, use this instead

Install additional packages:

  • Ubuntu: sudo apt-get install espeak libespeak-dev libudev-dev libsdl1.2-dev
  • Fedora: sudo yum install espeak espeak-devel SDL-devel SDL-static systemd-devel
  • Arch Linux: pacman -Sy espeak
  • Windows: USB Driver to connect to Pixhawk/PX4Flow/3DR Radio
  • Android: Qt Android Setup

Building using Qt Creator

  • Launch Qt Creator and open the qgroundcontrol.pro project.
  • Select the appropriate kit for your needs:
    • OSX: Desktop Qt 5.5.1 clang 64 bit
    • Ubuntu: Desktop Qt 5.5.1 GCC bit
    • Windows: Desktop Qt 5.5.1 MSVC2013 32bit
    • Android: Android for armeabi-v7a (GCC 4.9, Qt 5.5.1)

Additional build notes for all supported OS

  • Warnings as Errors: Specifying CONFIG+=WarningsAsErrorsOn will turn all warnings into errors which break the build. If you are working on a pull request you plan to submit to github for consideration, you should always run with this settings turned on, since it is required for all pull requests. NOTE: Putting this line into a file called "user_config.pri" in the top-level directory will set this flag on all builds without interfering with the GIT history.
  • Parallel builds: You can use the '-j#' option to run parellel builds.
  • Location of built files: Individual build file results can be found in the build_debug or build_release directories. The built executable can be found in the debug or release directory.
  • If you get this error when running qgroundcontrol: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found. You need to either update to the latest gcc, or install the latest libstdc++.6 using: sudo apt-get install libstdc++6.

Additional functionality

QGroundcontrol has functionality that is dependent on the operating system and libraries installed by the user. The following sections describe these features, their dependencies, and how to disable/alter them during the build process. These features can be forcibly enabled/disabled by specifying additional values to qmake.

Opal-RT's RT-LAB simulator

Integration with Opal-RT's RT-LAB simulator can be enabled on Windows by installing RT-LAB 7.2.4. This allows vehicles to be simulated in RT-LAB and communicate directly with QGC on the same computer as if the UAS was actually deployed. This support is enabled by default once the requisite RT-LAB software is installed. Disabling this can be done by adding DEFINES+=DISABLE_RTLAB to qmake.

3D mouse support

Connexion's 3D mice are supported through the 3DxWARE driver available on Linux and Windows. Download and install the driver from 3DConnexion to enable support. This support is enabled by default with driver installation. To disable add DEFINES+=DISABLE_3DMOUSE to qmake.

XBee support

QGroundControl can talk to XBee wireless devices using their proprietary protocol directly on Windows and Linux platforms. This support is not necessary if you're not using XBee devices or aren't using their proprietary protocol. On Windows, the necessary dependencies are included in this repository and no additional steps are required. For Linux, change to the libs/thirdParty/libxbee folder and run make;sudo make install to install libxbee on your system (uninstalling can be done with a sudo make uninstall). qmake will automatically detect the library on Linux, so no other work is necessary.

To disable XBee support you may add DEFINES+=DISABLE_XBEE to qmake.

qgroundcontrol's People

Contributors

donlakeflyer avatar lorenzmeier avatar dogmaphobic avatar malcom2073 avatar tstellanova avatar thomasgubler avatar malife avatar pixhawk-students avatar dagar avatar oberion avatar tecnosapiens avatar johnflux avatar billbonney avatar natergator avatar julianoes avatar tcanabrava avatar dongfang avatar pritamghanghas avatar amolinap avatar drton avatar ndousse avatar dagoodma avatar jgoppert avatar hugovincent avatar treymarc avatar crashmatt avatar andreasantener avatar barthess avatar basil-huber avatar vooon avatar

Watchers

James Cloos avatar Manu Tej Sharma 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.