User avatar
faramon
Posts: 123
Joined: Sat Jun 11, 2016 8:36 am
Location: Croatia

Apm Mission Planner 2.0

Fri Jan 06, 2017 8:43 pm

Hi all,

My friend ask me if I can install Apm Mission Planner 2.0 on Raspberry Pi because he dont know anybody with Raspberry pi just me. He will buy Raspberry just for this piece of software if I install it. But, I found some tutorials on the net but those did not helped me to install this. I have Raspbian Jessie Pixel.
Is there anyone who has already install this successfully? Can someone give me good tutorial and instructions for this?
Thanx,
Faramon

fruitoftheloom
Posts: 21081
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Apm Mission Planner 2.0

Fri Jan 06, 2017 9:11 pm

faramon wrote:Hi all,

My friend ask me if I can install Apm Mission Planner 2.0 on Raspberry Pi because he dont know anybody with Raspberry pi just me. He will buy Raspberry just for this piece of software if I install it. But, I found some tutorials on the net but those did not helped me to install this. I have Raspbian Jessie Pixel.
Is there anyone who has already install this successfully? Can someone give me good tutorial and instructions for this?
Thanx,
Faramon
The Developers show how to build from Source Code:

https://github.com/ArduPilot/apm_planne ... /README.md
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

User avatar
faramon
Posts: 123
Joined: Sat Jun 11, 2016 8:36 am
Location: Croatia

Re: Apm Mission Planner 2.0

Fri Jan 06, 2017 9:15 pm

Ok there is part of document for Linux, Is this for Raspberry Pi Pixel?

Thanx

fruitoftheloom
Posts: 21081
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Apm Mission Planner 2.0

Fri Jan 06, 2017 9:22 pm

faramon wrote:Ok there is part of document for Linux, Is this for Raspberry Pi Pixel?

Thanx
What is Raspberry Pi Pixel ??

Why not contact the Developers ??
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

User avatar
rpdom
Posts: 15592
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Apm Mission Planner 2.0

Fri Jan 06, 2017 9:26 pm

faramon wrote:Ok there is part of document for Linux, Is this for Raspberry Pi Pixel?
Pixel is the Pi desktop environment built on Raspbian Linux.

Follow the Linux instructions. If it mentions different types use the instructions for Debian or Ubuntu in this case.

User avatar
faramon
Posts: 123
Joined: Sat Jun 11, 2016 8:36 am
Location: Croatia

Re: Apm Mission Planner 2.0

Sat Jan 07, 2017 11:05 am

I found some deb files on this link but what now, how to unpack or how to compile this, I'am not expert in Linux?!?!

https://www.dropbox.com/sh/6tx02zn95ykt ... MoKia?dl=0

Heater
Posts: 13912
Joined: Tue Jul 17, 2012 3:02 pm

Re: Apm Mission Planner 2.0

Sat Jan 07, 2017 11:12 am

I strongly suspect that any .deb available are built for Intel x86 not the ARM processor of the Pi. They will not run. (Unless you know for sure they are built for ARM)

Also I don't encourage the idea of installing random binary programs from dropbox or elsewhere.

Why not just follow the instructions of downloading and building this? They are there are the front page of the github project pages.
Memory in C++ is a leaky abstraction .

User avatar
B.Goode
Posts: 8987
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Apm Mission Planner 2.0

Sat Jan 07, 2017 11:22 am

faramon wrote:I found some deb files on this link but what now, how to unpack or how to compile this, I'am not expert in Linux?!?!

https://www.dropbox.com/sh/6tx02zn95ykt ... MoKia?dl=0
You do not unpack or compile .deb files.

Since Raspbian is a version of the Debian OS that has been tailored for the RPi, these generic instructions for Debian are relevant: http://www.thegeekstuff.com/2010/06/ins ... eb-package

Only one of the files you reference has any chance of being appropriate for a Raspbian system. I echo the warning you have had about potentially untrustworthy software sources.

fruitoftheloom
Posts: 21081
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Apm Mission Planner 2.0

Sat Jan 07, 2017 12:26 pm

faramon wrote:I found some deb files on this link but what now, how to unpack or how to compile this, I'am not expert in Linux?!?!

https://www.dropbox.com/sh/6tx02zn95ykt ... MoKia?dl=0
You build from Source, not just try any random downloads, otherwise you will bork Raspbian Jessie...
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

User avatar
jadro
Posts: 429
Joined: Sun Oct 02, 2016 1:20 pm
Location: Croatia

Re: Apm Mission Planner 2.0

Mon Jan 09, 2017 8:32 am

In this link is howto install and run MissionPlanner with MONO
https://www.rcgroups.com/forums/showthr ... untu-15-10
But I'am not familiare with MONO.
What about MONO, is it part of Raspbian Jessie Pixel and anybody here uses MONO?

Jadro
Oracle backend database developer
SmartHome IoT & Microprocessor enthusiast and hobbyist

fruitoftheloom
Posts: 21081
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Apm Mission Planner 2.0

Mon Jan 09, 2017 8:44 am

jadro wrote:In this link is howto install and run MissionPlanner with MONO
https://www.rcgroups.com/forums/showthr ... untu-15-10
But I'am not familiare with MONO.
What about MONO, is it part of Raspbian Jessie Pixel and anybody here uses MONO?

Jadro
Not much help as your link states:

Based on clean Xubuntu 15.10 Wily Werewolf, desktop installation. Both i386 and amd64 versions tested.

The Raspberry Pi is ARM CPU Architecture
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

User avatar
jadro
Posts: 429
Joined: Sun Oct 02, 2016 1:20 pm
Location: Croatia

Re: Apm Mission Planner 2.0

Mon Jan 09, 2017 4:11 pm

Ok I install MissionPlanner on my Jesie:
From this link I put in last post I follow step by step this instructions:
https://www.rcgroups.com/forums/showthr ... untu-15-10
1. From terminal do this (copy all):

Code: Select all

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
2. Then from terminal do this (copy all again):

Code: Select all

sudo apt-get install mono-runtime libmono-system-windows-forms4.0-cil libmono-system-xml-linq4.0-cil libmono-system-management4.0-cil libmono-system-web4.0-cil libmono-corlib4.5-cil libmono-system-numerics4.0-cil festival
3. Download zip (MissionPlanner-1.3.43.zip) on link:
http://firmware.eu.ardupilot.org/Tools/MissionPlanner/
4. Unpack into /home/pi/workspace directory
5. Go into this directory:
cd /home/pi/workspace
6. Do this from terminal and from directory from step 5 (maybe without sudo works, try it first with no sudo):

Code: Select all

mono MissionPlanner.exe
or with sudo:

Code: Select all

sudo mono MissionPlanner.exe
And application will start (for me it is started after all this steps).
Jadro
Oracle backend database developer
SmartHome IoT & Microprocessor enthusiast and hobbyist

User avatar
faramon
Posts: 123
Joined: Sat Jun 11, 2016 8:36 am
Location: Croatia

Re: Apm Mission Planner 2.0

Tue Jan 31, 2017 11:05 am

Hi, one question for BASH call...

Now, my mission planner is installed and works.
It is in directory:
/home/pi/workspace
It can be started from same directory:
cd /home/pi/workspace
and then:
sudo mono MissionPlanner.exe

but, how to start at boot or restart from bash with calling through directory?
What to put into desktop file that I have in Exec call, can this works?:
/home/pi/.config/autostart/autostart.desktop
This if desktop file:

Code: Select all

[Desktop Entry]
Type=Application
Name=MissionPlanner
Exec=sudo /home/pi/workspace mono MissionPlanner.exe
StartupNotify=false
I ask because it seems that it does not work...
Thanx,
Faramon

Return to “General discussion”