Commit 09851680 authored by pixhawk's avatar pixhawk
parents 16c6a63e cb2dec43

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -5,20 +5,20 @@ http://qgroundcontrol.org
Files:
http://github.com/mavlink/qgroundcontrol
http://github.com/mavlink/mavlink
Credits:
http://qgroundcontrol.org/credits
**********************************************************************************************
* PLEASE NOTE: YOU NEED TO DOWNLOAD THE MAVLINK LIBRARY IN ORDER TO COMPILE THIS APPLICATION *
**********************************************************************************************
Documentation
=============
For generating documentation, refer to README in the doc directory.
Mac OS X
========
To build on Mac OS X (10.5 or later):
To build on Mac OS X (10.6 or later):
Install SDL
-----------
......@@ -26,23 +26,19 @@ Install SDL
2) From the SDL disk image, copy the `sdl.framework` bundle to `/Library/Frameworks` directory (if you are not an admin copy to `~/Library/Framewroks`)
Install QT with Cocoa
----------------------
1) Download Qt 4.6.2 with Cocoa from `http://get.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.6.2.dmg`
Install QT
-----------
1) Download Qt 4.8+
2) Double click the package installer
Get the MAVLINK Library
-----------------------
1) Clone the MAVLINK repository : `git clone git@github.com:pixhawk/mavlink.git`. **NOTE:** Make sure that the mavlink directory is in the same directory as groundcontrol. QGround control will look for mavlink library in ../mavlink
Build QGroundControl
--------------------
1) From the terminal go to the `groundcontrol` directory
2) Run `qmake`
3) Run `xcodebuild -configuration Release` or open `qgroundcontrol.xcodeproj` in Xcode and build.
3) Run `make -j8`
Linux
......@@ -57,7 +53,6 @@ qtcreator libsdl1.2-dev libflite1 flite1-dev build-essential
cd directory
git clone https://github.com/mavlink/mavlink.git
git clone https://github.com/mavlink/qgroundcontrol.git
go to thirdParty -> libxbee
......@@ -97,6 +92,80 @@ Windows XP/7:
5) Now start Visual Studio and load the qgroundcontrol.vcproj if using Visual Studio 2008 or qgroundcontrol.vcxproj if using Visual Studio 2010
6) Compile and edit in Visual Studio. If you need to add new files, add them to qgroundcontrol.pro and re-run `qmake -tp vc qgroundcontrol.pro`
6) Compile and edit in Visual Studio. If you need to add new files, add them to qgroundcontrol.pro and re-run `qmake -tp vc qgroundcontrol.pro
Repository Layout
=================
qgroundcontrol:
demo-log.txt
license.txt
qgcunittest.pro - For the unit tests.
qgcunittest.pro.user
qgcvideo.pro
qgroundcontrol.pri - Used by qgroundcontrol.pro
qgroundcontrol.pro - Project opened in QT to run qgc.
qgroundcontrol.pro.user
qgroundcontrol.qrc - Holds many images.
qgroundcontrol.rc - line of code to point toward the images
qserialport.pri - generated by qmake.
testlog.txt
testlog2.txt
user_config.pri.dist - Custom message specs to be added here.
data:
Maps from yahoo and kinect and earth.
deploy:
Install and uninstall for win32.
Create a debian packet.
Create .DMG file for publishing for mac.
Audio test on mac.
doc:
Doxyfile is in this directory and information for creating html documentation for qgc.
files:
Has the audio for the vehicle and data output.
ardupilotmega:
widgets and tool tips for pilot heading for the fixed wing.
tooltips for quadrotor
flightgear:
Aircraft:
Different types of planes and one jeep.
Protocol:
The protocol for the fixed_wings and quadrotor and quadhil.holds info about the fixed wing yaw, roll etc. Quadrotor. Agian holds info about yaw, roll etc.
Pixhawk:
Widgets for hexarotor. Widgets and tooltips for quadrotor.
vehicles:
different vehicles. Seems to hold the different kinds of aircrafts as well as files for audio and the hexarotor and quadrotor.
widgets:
Has a lot of widgets defined for buttons and sliders.
images:
For the UI. Has a bunch of different images such as images for applications or actions or buttons.
lib:
SDL is located in this direcotry.
Msinttypes:
Defines intteger types for microsoft visual studio.
sdl:
Information about the library and to run the library on different platforms.
mavlink:
The files for the library mavlink.
qgcunittest:
Has the unittests for qgc
settings:
Parameter lists for alpha, bravo and charlie.
Data for stereo, waypoints and radio calibrartion.
src:
Code for QGCCore, audio output, configuration, waypoints, main and log compressor.
apps - Code for mavlink generation and for a video application.
comm - Code for linking to simulation, mavlink, udp, xbee, opal, flight gear and interface.
Has other libraries. Qwt is in directory named lib. The other libraries are in libs.
lib - qwt library
libs - eigen, opmapcontrol, qestserialport, qtconcurrent, utils.
input - joystick and freenect code.
plugins - Qt project for PIXHAWK plugins.
uas - Ardu pilot, UAS, mavlink factory, uas manager, interface, waypoint manager and slugs.
ui - Has code for data plots, waypoint lists and window congfiguration. All of the ui code.
thirdParty:
Library called lxbee.
Library called QSerialPort.
[rgb]
principal_point\x=313.67245
principal_point\y=264.06175
focal_length\x=527.44654
focal_length\y=527.40652
distortion\k1=0.20780
distortion\k2=-0.34320
distortion\k3=0.00139
distortion\k4=0.00061
distortion\k5=0.00000
[depth]
principal_point\x=313.23400
principal_point\y=246.13447
focal_length\x=587.62150
focal_length\y=587.51184
distortion\k1=0.01063
distortion\k2=-0.04479
distortion\k3=-0.00073
distortion\k4=0.00081
distortion\k5=0.00000
[transform]
R11=0.99994
R12=0.00098102
R13=0.010900
R21=-0.00097894
R22=1.0
R23=-0.00019534
R33=-0.010900
R32=0.00018466
R33=0.99994
Tx=-0.02581986
Ty=-0.0130948
Tz=-0.0047681
[rgb]
principal_point\x=327.67398
principal_point\y=248.59122
focal_length\x=532.24310
focal_length\y=531.99693
distortion\k1=0.21059
distortion\k2=-0.37793
distortion\k3=-0.00167
distortion\k4=0.00449
distortion\k5=0.00000
[depth]
principal_point\x=305.68000
principal_point\y=249.39797
focal_length\x=587.79275
focal_length\y=586.22199
distortion\k1=-0.00565
distortion\k2=0.01022
distortion\k3=-0.00135
distortion\k4=0.00066
distortion\k5=0.00000
[transform]
R11=1.0000
R12=0.0048
R13=-0.0083
R21=-0.0047
R22=1.0000
R23=0.0040
R33=0.0083
R32=-0.0039
R33=1.0000
Tx=-0.2832691
Ty=-0.0514760
Tz=0.0655281
<!--
osgEarth Sample
This example pulls satellite/aerial map tiles from the Yahoo! Maps service.
This is for educational purposes only - it is your responsibility to abide by
the provider's terms of service when using their data.
-->
<map name="Yahoo! Maps" type="geocentric">
<cache type="tms">
<path>/tmp/OsgEarthCache</path>
</cache>
<image name="yahoo_aerial" driver="yahoo">
<dataset>satellite</dataset>
</image>
<loading_policy mode="sequential"/>
<lighting>true</lighting>
</map>
<!--
osgEarth Sample
This example pulls satellite/aerial map tiles from the Yahoo! Maps service.
This is for educational purposes only - it is your responsibility to abide by
the provider's terms of service when using their data.
-->
<map name="Yahoo! Maps" type="geocentric">
<image name="yahoo aerial" driver="yahoo">
<dataset>satellite</dataset>
</image>
<loading_policy mode="sequential"/>
<lighting>false</lighting>
<heightfield name="WorldWind DEM" driver="wms">
<url>http://onearth.jpl.nasa.gov/wms.cgi</url>
<layers>worldwind_dem</layers>
<style>feet_short_int</style>
<format>tiff</format>
<elevation_unit>ft</elevation_unit>
</heightfield>
<normalize_edges>true</normalize_edges>
<vertical_scale>50</vertical_scale>
<skirt_ratio>0.01</skirt_ratio>