ArdupilotMegaPlanner was written in .net which is a Microsoft language that they opened up the standards to. An opensource mutiplatform version of .net's CLR came out called mono. Ubuntu comes with mono installed so you can run ArdupilotMegaPlanner.exe without installing anything. All you have to do is open ArdupilotMegaPlanner.exe with mono and your golden.
Here are the steps I used to get ArdupilotMegaPlanner running. Right click on ArdupilotMegaPlanner.exe and select "properties" now check the the "permissions" are set to executable. Now click on the "open with" tab click on "add" a new window will pop up and on the bottom you'll see "use custom command" type "mono" (without the "") and hit the "add" button now double click on ArdupilotMegaPlanner.exe and you should be good to go. There are some glitches like the graph bars are sideways, the setup tool freezes and mavlink and pid adjuster only works through telemetry (which is fine by me because that is how I was wanting to use it any way), but the important functions like the firmware unloader, updates, and flight data work great!!
Oh ya it doesn't open a whole window just a menu bar that doesn't stand out at first. nothing is wrong it acts the same way in windows.
I would like to say thank you to Michael Oborne for writing the the program, making it open and available to all of us, and for writing it in a multi platform language that we all can use.
P.S. with mono installed Mac users should be able to use this program as will
Comments
Finally got mono working and the planner is up and running. The next question is, how can I connect the APM to it like this?
See the drop down in this screenshot...what do I select? Can it be done??
then we have qgroundstation - not sure it it's fully capable- but it's a pity that the Mission Planner is windows-only. -One more reason to keep an eye on OpenPilot :)
Hi,
@Andke: Yes I always have that problem. Can never write settings. It seems to be performance related, or it is some subprocess/thread never getting going.
@Andrew Adams: I think there is just the .NET version. That is, you get that (Windows software it is, although under the open .NET spec) and run it inside a .NET runtime on your computer. That would probably be mono on linux and mac.
Regards
Soren
@Michael where can I download the pkg for mac? I'd like to test out the Planner on my Mac.
Success with Mission Planner version 1.1.43 (there's been no change to my system configuration (same as in my previous post of Dec 26 2011) so I presume something changed in the MP code). No more black screen at the firmware tab, I can see the icons, although I did not try updating the firmware (too much hassle to pull the APM out of the plane). For a quick check, tried XBee connection, got the params and saw reasonable values from the sensors. Haven't tried flying using the GCS via mono yet but it looks more promising than previous versions which had forced me to use windows.
for complete mono on Ubuntu use:
sudo apt-get install mono-runtime libmono2.0-cil libmono-winforms2.0-cil mesa-common-dev mesa-utils
it works.
Søren: I did not test that yet, will test today - do you still have this problem ?
Hi,
I am generally unable to write any settings at all from Mission Planner under Linux/mono. No error messages, there is just nothing changed in the APM. I can write OK under Windows.
Did somebody else have this problem and maybe solved it too?
Are the M P sources available?
Regards, Soren
Hello guys, I have problems running APM planner on mono (also posted here on Dec 23 2011 on the wiki).
Problem is, APM Planner runs fine except for the Firmware tab which shows a black screen under both the default mono (2.6 I think) and the 2.10 version.
I am using kubuntu 11.04. I upgraded mono to 2.10 following the instructions here. In a fit of desperation, I also installed mesa-utils, libglw1-mesa-dev, libegl1-mesa-dev, libgl1-mesa-dev, libgles1-mesa-dev, libgles2-mesa-dev, libglu1-mesa-dev and libopenvg1-mesa-dev
Still, no joy, firmware tab firmly refuses to show anything. Has anyone else had this problem?
@John Church What worked for me was installing mesa-dev and mesa-utils
Hope it works,
Jonathan
Hi,
Just wondering what the status is on folks getting the latest planner to run in mono. Anyone found a working solution to the OpenTK.Graphics.GraphicsMode exception? I thought I'd ask before digging... (Running mono 2.10.5-1)