Mission planner 2 on a A20,cubieboard, Banana Pi

I see 2 possibilities on web,
1. complie source code on arm platform, here is an example with APM Planner 2.0 on Pi
example A:
http://www.rcgroups.com/forums/showthread.php?t=2169852
example B:
http://www.dronetrest.com/t/apm-planner-v2-running-on-a-raspberry-pi/191
Here is Qgroundcontrol for Pi, still re complied:
http://diydrones.com/forum/topics/raspberry-pi-and-mission-planner?id=705844%3ATopic%3A1021527&page=1#comments

Here is an imteresting one, using Pi as mavproxy
http://dev.ardupilot.com/wiki/raspberry-pi-via-mavlink/

On Cubieboard:

http://diydrones.com/forum/topics/droidplanner-on-armhf


So, I followed this one, the linux section
https://github.com/diydrones/apm_planner


1) Install the required packages:
sudo apt-get install phonon libqt4-dev libqt4-opengl-dev \
 libphonon-dev libphonon4 phonon-backend-gstreamer \
 qtcreator libsdl1.2-dev libflite1 flite1-dev build-essential \
 libopenscenegraph-dev libssl-dev libqt4-opengl-dev libudev-dev \
 libsndfile1-dev libqt4-sql-sqlite
2) Clone the repository in your workspace:

in case no git, do apt-get install git
cd ~/workspace
git clone https://github.com/diydrones/apm_planner
3) Build APM Planner:
cd ~/workspace/apm_planner
qmake qgroundcontrol.pro
make -j2
the qmake will take a very long time, I left it over night, and next day,
I input the maker -j2 command

then we can find the apmplanner2 in the release folder, run with #./apmplanner2
if you are not in the dialout group,(root is not bydefault, but cubie is) you need to added:
# sudo adduser root dialout

it does ran up, I'll try to connect one later.

I have complied the program in root, so when I run the ./apmplanner2 with cubie log in, it will stop at a access to a file.
So I relaunch as root, then it started.
Connect a apm on it, it shows as ttyACM0...
get it connected, system has large load for map and draw the map, other wise, thing goes very well.

Also try to set down load firmware with apmplanner2, looks fine, and well done.

banana pi :
I loaded the same pananianPI,

root@bananapi ~/test/apm_planner (git)-[master] # qmake qgroundcontrol.pro
Project MESSAGE: Qt version 4.8.2
Project MESSAGE: Linux build x86
sh: 1: lsb_release: not found
Project MESSAGE: Release flavor
Project MESSAGE: BASEDIR /root/test/apm_planner DESTDIR /root/test/apm_planner/release TARGET apmplanner2
Project MESSAGE: Skipping support for QUpgrade
Project MESSAGE: Using mavlink  + ardupilotmega
Project MESSAGE: Skipping support for OpenSceneGraph
Project MESSAGE: Skipping support for Google Earth
Project MESSAGE: Skipping support for Protocol Buffers
Project MESSAGE: Skipping support for libfreenect
Project MESSAGE: Adding ALGLIB /root/test/apm_planner/libs/alglib
Project MESSAGE: Skipping support for XBee
Project MESSAGE: Skipping support for Opal-RT
Project MESSAGE: QTDIR /usr
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: serialport
Project MESSAGE: Warning: unknown QT: webkitwidgets
WARNING: permFolders.path is not defined: install target not created

WARNING: permFiles.path is not defined: install target not created


Don't

留言

這個網誌中的熱門文章

Heltec ESP32+OLED+Lora, hardware testing

micro SD card for ESP32, on lolin32 with OLED and heltec 32 lora oled

Install Network Time Protocol(NTP) on BeagleBone with Angstrom linux and set local time zone