All Projects → ArduPilot → Apm_planner

ArduPilot / Apm_planner

Licence: other
APM Planner Ground Control Station (Qt)

Projects that are alternatives of or similar to Apm planner

Missionplanner
Mission Planner Ground Control Station (c# .net)
Stars: ✭ 1,059 (+156.42%)
Mutual labels:  ros, autopilot, open-source
Webots
Webots Robot Simulator
Stars: ✭ 1,324 (+220.58%)
Mutual labels:  ros, autonomous-vehicles, open-source
Carma Platform
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
Stars: ✭ 243 (-41.16%)
Mutual labels:  ros, autonomous-vehicles, open-source
Autonomous driving
Ros package for basic autonomous lane tracking and object detection
Stars: ✭ 67 (-83.78%)
Mutual labels:  ros, autonomous-vehicles
Navigator
NaviGator ASV on-board software
Stars: ✭ 29 (-92.98%)
Mutual labels:  ros, autonomous-vehicles
Rc car ros
ROS package to control an autonomous RC vehicle based on Raspberry Pi3
Stars: ✭ 30 (-92.74%)
Mutual labels:  ros, autonomous-vehicles
Linorobot
Autonomous ground robots (2WD, 4WD, Ackermann Steering, Mecanum Drive)
Stars: ✭ 598 (+44.79%)
Mutual labels:  ros, autonomous-vehicles
Self Driving Golf Cart
Be Driven 🚘
Stars: ✭ 147 (-64.41%)
Mutual labels:  ros, autonomous-vehicles
Autonomous Drone
This repository intends to enable autonomous drone delivery with the Intel Aero RTF drone and PX4 autopilot. The code can be executed both on the real drone or simulated on a PC using Gazebo. Its core is a robot operating system (ROS) node, which communicates with the PX4 autopilot through mavros. It uses SVO 2.0 for visual odometry, WhyCon for visual marker localization and Ewok for trajectoy planning with collision avoidance.
Stars: ✭ 87 (-78.93%)
Mutual labels:  ros, autopilot
Jetson Car
Autonomous Racing Car using NVIDIA Jetson TX2 using end-to-end driving approach. Paper: https://arxiv.org/abs/1604.07316
Stars: ✭ 172 (-58.35%)
Mutual labels:  ros, autonomous-vehicles
installRACECARJ
Install the ROS stack, MIT RACECAR Packages, and hardware support on RACECAR/J.
Stars: ✭ 28 (-93.22%)
Mutual labels:  ros, autonomous-vehicles
Fourth robot pkg
4号機(KIT-C4)用リポジトリ
Stars: ✭ 7 (-98.31%)
Mutual labels:  ros, autonomous-vehicles
Carla
Open-source simulator for autonomous driving research.
Stars: ✭ 7,012 (+1597.82%)
Mutual labels:  ros, autonomous-vehicles
FMT-Firmware
FMT Autopilot Embedded System
Stars: ✭ 207 (-49.88%)
Mutual labels:  autopilot, autonomous-vehicles
firmware
Firmware for the ROSflight autopilot
Stars: ✭ 115 (-72.15%)
Mutual labels:  ros, autopilot
Ardupilot
ArduPlane, ArduCopter, ArduRover, ArduSub source
Stars: ✭ 6,637 (+1507.02%)
Mutual labels:  ros, autopilot
Autoware.ai
Open-source software for self-driving vehicles
Stars: ✭ 5,044 (+1121.31%)
Mutual labels:  ros, autonomous-vehicles
Autorally
Software for the AutoRally platform
Stars: ✭ 595 (+44.07%)
Mutual labels:  ros, autonomous-vehicles
FusionAD
An open source autonomous driving stack by San Jose State University Autonomous Driving Team
Stars: ✭ 30 (-92.74%)
Mutual labels:  ros, autonomous-vehicles
ar-tu-do
ROS & Gazebo project for 1/10th scale self-driving race cars
Stars: ✭ 65 (-84.26%)
Mutual labels:  ros, autonomous-vehicles

APM Planner 2.0

Travis CI Build: Build Status

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: https://gitter.im/diydrones/apm_planner

Gitter

Credits: https://ardupilot.org/planner2/docs/credits-and-contributors.html

Waffle.io Progress Graph

Throughput Graph

Documentation

see https://ardupilot.org/planner2/

Mac OS X

To build on Mac OS X (10.6 or later):

Install QT

  1. Download Qt 5.4.2 or greater (Does not work with Qt4.x)

    • you can verify the version by typing 'qmake -v' and it should report Qt 5.4.2 or greater as the version.
    • NOTE: Tested with Qt5.9.3 wth success
  2. Double click the package installer

Build APM Planner

  1. From the terminal go to the apm_planner directory created when you cloned the repository.

  2. Run qmake -spec macx-g++ apm_planner.pro

  3. Run make -j8

Linux

Building on Linux (tested against Ubuntu 18.04 LTS): (Use Qt5.9.5+ suggested Qt5.12.5)

(NOTE: There is an error in 14.04LTS with libxcb crashing sometimes, try this fix)

(NOTE: If you are using 14:04LTS or other linux and instructions below are not working do it 'The Easy Way')

  1. Install the required packages:

Be sure to run apt-get update first

sudo apt-get update
sudo apt-get install qt5-qmake qt5-default \
  qtscript5-dev libqt5webkit5-dev libqt5serialport5-dev \
  libqt5svg5-dev qtdeclarative5-qtquick2-plugin libqt5serialport5-dev \
  libqt5opengl5-dev qml-module-qtquick-controls
sudo apt-get install git libsdl1.2-dev  libsndfile-dev \
  flite1-dev libssl-dev libudev-dev libsdl2-dev python-serial python-pexpect

In Fedora (tested against Fedora 21), use:

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
  1. Clone the repository in your workspace:
cd ~/workspace
git clone https://github.com/diydrones/apm_planner
  1. Build APM Planner:
cd ~/workspace/apm_planner
qmake apm_planner.pro
make
  1. Run APM Planner:
./release/apmplanner2
  1. Permanent installation (optional, if you'd like to install APM Planner in a fixed location)

There are two ways to do this:

a) Using Debuild:

cd ~/workspace/apm_planner/debian
./gitlog-to-changelog.pl > changelog

cd ..
debuild -us -uc -d

Then install the deb via

dpkg -i ~/workspace/apmplanner2_2.0.XX_YYYY.deb

Where XX is the version number, and YYY is your architecture. This method should add it to your launcher too.

If it does not install due to dependancies, you can resolve them with

sudo apt-get install -f

Then attempt to install again.

b) Using make:

cd ~/workspace/apm_planner
sudo make install

This will place the binary in your /bin/ folder and corresponding files in /share/

OpenBSD

To build on OpenBSD 6.2

  1. install dependencies
pkg_add qt5 libsndfile sdl sdl2 flite py-serial py-pexpect openssl git
  1. Clone the apm_planner repo
git clone [email protected]:ArduPilot/apm_planner.git
  1. Build the project
cd apm_planner
qmake-qt5 apm_planner.pro
make

If the project compiled without errors you will find the binary in ./release

Windows

To build on Windows there are two options:

Install Qt with the online Qt installer:

  • You will be presented with a list of Qt versions and compiler options to install
  • You can install mulitple versions and compilers beside one another and choose which to use later
  • Select any one (or mulitple) of the following options,
    • Qt 5.5 MSVC2013 32-bit
    • Qt 5.5 MSVC2013 64-bit
    • Qt 5.5 MinGW 4.9.2 32-bit (also select the same version of MinGW under Tools)

Configure QtCreator:

  • The installer is pretty smart but it's good to double check everything was setup corretly
  • Start QtCreator
    • Click on the Tools menu item then Options
    • Select Build & Run on the left hand side
    • Look at the Compilers tab
      • Under Auto-detected should be a list of compilers installed, such as:
        • Microsoft Visual C++ Compiler 12.0 (x86)
        • Microsoft Visual C++ Compiler 12.0 (amd64)
        • MinGW 4.9.2 32bit
      • If using MSVC there will be a few others listed as well but that is normal
    • Look at the Qt Versions Tab:
      • Under Auto-detected should be a list of the Qt versions you installed earlier:
        • Qt 5.5.1 MSVC2013 32bit
        • Qt 5.5.1 MSVC2013 32bit
        • Qt 5.5.1 MinGW 32bit
      • If your desired Qt versions is not listed, or you installed one after the initial setup:
        • Click Add
        • Find the qmake.exe for the version you want
          • For example: c:/Qt/5.5/msvc2013/bin/qmake.exe
          • For example: c:/Qt/5.5/mingw492_32/bin/qmake.exe
        • Click Apply
    • Look under the Kits tab:
      • Under Auto-detected should be a list of the appropriate kits:
        • Desktop Qt 5.5.1 MSVC2013 32bit
        • Desktop Qt 5.5.1 MSVC2013 63bit
        • Desktop Qt 5.5.1 MinGB 32bit
      • If a kit with your desired Qt versions and/or compiler is not listed, or you installed a new Qt version or compiler after the initial setup:
        • Click Add, give it a nice name (like Qt 5.5.1 MSVC 32bit)
        • Select the desired compiler from the drop down
        • Select the Qt version (with matching compiler) from the drop down
        • Click Apply
    • Click Ok at the bottom of the window
  • QtCreator is now configured for fun

Build APM Planner 2.0:

  • Start QtCreator (if not already)
  • Click on File then Open File or Project
  • Find qgroundcontrol.pro, then click Open
    • The first time will ask you to configure project
    • Select the desired version (same list of Kits from above)
    • Click Configure Project
  • Go to Projects tab on the left hand side
    • Select the "Shadow Build" checkbox
    • Browse to a location where you want the application to build to
  • From the Build drop down select Build Project qgroundcontrol (or Ctrl+B)
  • Run the generated apmplanner2.exe and enjoy!

Installing this compiled version:

  • To Do

Repository Layout (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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].