地面站终端 App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Don Gagne 8ed58496c7 Update README.md 9 years ago
android Text to Speech Work 9 years ago
debian ubuntu package 10 years ago
deploy automate ppa creation and upload 10 years ago
doc README was added to doc directory with inforamtion on how to run doxygen. A mention to read the README in /doc for information was added to the main README in qgroundcontrol. 13 years ago
flightgear Resource restructuring 10 years ago
ios First stab at iOS builds 10 years ago
libs Fix native function setting 9 years ago
resources Remove font query from QWidget side of code 9 years ago
src Merge pull request #2070 from dogmaphobic/textToSpeech 9 years ago
test travis-ci enable OSX builds 10 years ago
tools Fixed problem with defining std as variance^2 instead of variance^(1/2) 10 years ago
.appveyor.yml appveyor disable debug build and unit tests 9 years ago
.gitignore set QGC version from git 10 years ago
.gitmodules QUpgrade submodule removed 10 years ago
.travis.yml travis-ci use homebrew qt 5.5.1 9 years ago
.ycm_extra_conf.py Vim YouCompleteMe config 10 years ago
CodingStyle.cc Updates taking into account feedback 10 years ago
CodingStyle.h Use more normal double include ifdef 10 years ago
Custom-Info.plist Use QGroundControl team instead of PX4 12 years ago
QGCApplication.pro Share item indicator display code between Plan/Fly views 9 years ago
QGCCommon.pri Add note to Windows developers to turn off -MP when using jom. Specify we're using jom in appveyor 10 years ago
QGCExternalLibs.pri Text to Speech Work 9 years ago
QGCInstaller.pri appveyor s3 deploy release folder 10 years ago
QGCLocationPlugin.pro Adding Qt Location headers for Qt 5.5.1 9 years ago
QGCSetup.pri Switch to windeployqt to pull in install dependencies 9 years ago
README.md Update README.md 9 years ago
android_environment.sh Moving Android defines to QGCCommon.pri 10 years ago
demo-log.txt Major stability improvements 15 years ago
git_version.pri Getting rid of warning on Mac OS 9 years ago
license.txt Added Windows icon and NSIS script from Hendrik 15 years ago
qgcvideo.pro Working on video streaming 14 years ago
qgroundcontrol.desktop readd qgroundcontrol.desktop 9 years ago
qgroundcontrol.pro set QGC version from git 10 years ago
qgroundcontrol.qrc Light Icons for Plan View Help 9 years ago
qgroundcontrol.rc Resource restructuring 10 years ago
testlog.txt Added NEW data plot view, fixed zoom issue in linechart 15 years ago
testlog2.txt changes added in widget WaypointList.ui: clear path button was added 15 years ago

README.md

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 https://github.com/mavlink/qgroundcontrol.git
cd qgroundcontrol
git submodule init
git submodule update

Each time you pull new source to your repository you should re-run "git submodule update" to get the latest submodules as well.

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: 64 bit, clang compiler
  • Ubuntu: 64 bit, gcc compiler
  • Windows: 32 bit, Visual Studio 2013 compiler
  • Android: Jelly Bean (4.1) and higher
  • Qt version: 5.5.1 (or higher)

Install QT

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](http://www.pixhawk.org/firmware/downloads)

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:
    • Windows:
    • 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 for variables either at the command line when calling qmake or in the user_config.pri. When calling qmake additional variables can be set using the syntax VARIABLE="SPACE_SEPARATED_VALUES", which can be repeated for multiple variables. For example: qmake DEFINES="DISABLE_SPEECH" disables the QUpgrade widget, speech functionality, and sets the MAVLink dialect to sensesoar. These values can be more permanently specified by setting them in the user_config.pri file in the root directly. Create this file as a plain text file and ensure it ends in .pri (not .pri.txt!).

NOTE: Any variables specified at the command line call to qmake will override those set in user_config.pri.

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 DISABLE_RTLAB to the DEFINES variable.

Speech syntehsis

QGroundcontrol can notify the controller of information via speech synthesis. This requires the espeak library on Linux. On Mac and Windows support is built in to the OS as of OS X 10.6 (Snow Leopard) and Windows Vista. This support is enabled by default on all platforms if the dependencies are met. Disabling this functionality can be done by adding DISABLE_SPEECH to the DEFINES variable.

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 DISABLE_3DMOUSE to the DEFINES variable.

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 DISABLE_XBEE to the DEFINES argument.