APM Planner Ground Control Station (Qt)
Support:
ardupilot.com Support Forum for APM Planner 2.0
Support is handled in the forum, we keep issues here known problems and enhancements
Developer Chat:
APN Planner 2 on ArduPilot Discord Server
Credits:
Maintainer: Bill Bonney
Contributors: Michael Carpenter, Arne-W et al.
https://ardupilot.org/planner2/docs/credits-and-contributors.html
see https://ardupilot.org/planner2/
To build on Mac OS X (10.6 or later):
Preferred using “homebrew” https://brew.sh to install.
brew install qt@5 cmake ninja sdl2
brew link qt5 --force
NOTE: you may need to unlink qt6 brew unlink qt6
aqt installer
- NOTE: Also stuck at 5.15.2Using CMake
cd $HOME
git clone https://github.com/ArduPilot/apm_planner.git
cd apm_planner
mkdir build
cd build
cmake cmake -G Ninja .. -DCMAKE_PREFIX_PATH="/opt/homebrew/Cellar/qt@5/5.15.16_2;/opt/homebrew"
Using QMake
cd $HOME
git clone https://github.com/ArduPilot/apm_planner.git
qmake -spec macx-clang apm_planner.pro
make -j$(nproc)
open ./release/apmplanner2.app
sudo apt-get update
sudo apt-get install git build-essential
sudo apt-get install qt5-qmake qtbase5-dev qtscript5-dev libqt5serialport5-dev libqt5svg5-dev \
libqt5opengl5-dev qml-module-qtquick-controls libsdl1.2-dev libsndfile1-dev flite1-dev libssl-dev \
libudev-dev libsdl2-dev
sudo apt-get update
sudo apt-get install git build-essential
sudo apt-get install qt5-qmake qtbase5-dev qtscript5-dev libqt5webkit5-dev libqt5serialport5-dev \
libqt5svg5-dev libqt5opengl5-dev qml-module-qtquick-controls libsdl1.2-dev libsndfile1-dev flite1-dev \
libssl-dev libudev-dev libsdl2-dev
sudo apt-get update
sudo apt-get install git build-essential
sudo apt-get install qt5-qmake qt5-default qtscript5-dev libqt5webkit5-dev libqt5serialport5-dev \
libqt5svg5-dev qtdeclarative5-qtquick2-plugin libqt5opengl5-dev qml-module-qtquick-controls libsdl1.2-dev \
libsndfile-dev flite1-dev libssl-dev libudev-dev libsdl2-dev python-serial python-pexpect
sudo yum update
sudo yum install qt-devel qt5-qtscript-devel qt5-qtwebkit-devel qt5-qtserialport-devel qt5-qtsvg-devel \
qt5-qtdeclarative-devel qt5-qtquick1-devel pyserial python-pexpect
sudo yum install SDL-devel libsndfile-devel flite-devel openssl-devel libudev-devel SDL2-devel
Using CMake
cd $HOME
git clone https://github.com/ArduPilot/apm_planner.git
cd apm_planner
mkdir build
cd build
cmake cmake -G Ninja ..
./apmplanner2 # Runs the application
Using QMake
cd $HOME
git clone https://github.com/ArduPilot/apm_planner.git
cd apm_planner
qmake apm_planner.pro
make -j$(nproc)
./release/apmplanner2 # Runs the application
NOTE: Needs Updating
NOTE: Needs Updating
cd ~/workspace/apm_planner/debian
./gitlog-to-changelog.pl > changelog
cd ..
debuild -us -uc -d
dpkg -i ~/workspace/apmplanner2_2.0.XX_YYYY.deb
sudo apt-get install -f
````
Then attempt to install again.
b) Using make:
pkg_add qt5 libsndfile sdl sdl2 flite py-serial py-pexpect openssl git
git clone git@github.com:ArduPilot/apm_planner.git
cd apm_planner
qmake-qt5 apm_planner.pro
make
(2014-3-28: out-of-date, needs to be fixed)
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 calibration.
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.