3689407389?profile=originalArdupilotMegaPlanner 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!!

 

3689407403?profile=original

 

3689407424?profile=original

3689407315?profile=original

 

3689407452?profile=original

 

 

 

 

 

 

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.

 

3689407336?profile=original

 

 

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

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Hey All,

    Is there a dedicated version of MP for Mac OS. I would like to use APM: Plane 2.76, can I do that on Mac?

    If yes, can you post the link?

    Thanks in advance.

  • Wow! This is amazing news Chris. I never managed to get mono to behave and have been using a windows installation on a virtual machine instead (performance is beyond terrible but does the job, as long as I don't do anything too crazy, like look at it). QGroundControl is an excellent choice, can't wait to see the result.

  • Great ! - now that's great news - finally we will have a true multiplatform tool.

  • 3D Robotics

    The MP is being merged with QGroundControl on QT as we speak. Teams are hard at work. 

  • Porting to QT would require a complete rewrite of the application because right now it is written in .NET and not C++, but it is now running again on Linux with 1.2.42 . See here: https://github.com/diydrones/MissionPlanner/issues/22#issuecomment-...

  • It would be awesome, if the MP were ported over to QT, then it would be truely multiplatform compatible.

  • Hi,

    I think I get the same issue as Sam. It works fine on both 64bits Ubuntu 11.10 and 12.04 but it fails with a segmentation fault with both 32bits Ubuntu 11.10 and 12.04.

    Here's the complete output in the terminal :

    $ mono ArdupilotMegaPlanner10.exe
    INFO Program - ******************* Logging Configured *******************
    INFO Program - Max Threads: 100
    INFO ArdupilotMega.MainV2 - myview width 1008 height 461
    INFO ArdupilotMega.MainV2 - this   width 1193 height 617
    INFO ArdupilotMega.Utilities.Speech - TTS: init, mono = True
    INFO ArdupilotMega.Controls.HUD - Index: 157, Color: 24 (8880), Depth: 24, Stencil: 8, Samples: 0, Accum: 0 (0000), Buffers: 2, Stereo: False
    INFO ArdupilotMega.Controls.HUD - Vendor: VMware, Inc.
    INFO ArdupilotMega.Controls.HUD - Version: 2.1 Mesa 8.0.2
    INFO ArdupilotMega.Controls.HUD - Device: Gallium 0.4 on llvmpipe (LLVM 0x300)
    INFO ArdupilotMega.MainV2 - Listening for client - 1 client at a time
    INFO ArdupilotMega.MainV2 - New file Check: local 1.1.4538.32162 vs Remote 1.1.4565.30101
    Stacktrace:

      at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipGraphicsClear (intptr,int) <0xffffffff>
      at System.Drawing.Graphics.Clear (System.Drawing.Color) <0x0002f>
      at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.Clear (System.Drawing.Color) <0xffffffff>
      at ArdupilotMega.Controls.HUD.Clear (System.Drawing.Color) <0x00077>
      at (wrapper remoting-invoke-with-check) ArdupilotMega.Controls.HUD.Clear (System.Drawing.Color) <0xffffffff>
      at ArdupilotMega.Controls.HUD.doPaint (System.Windows.Forms.PaintEventArgs) <0x0041b>
      at ArdupilotMega.Controls.HUD.OnPaint (System.Windows.Forms.PaintEventArgs) <0x0028f>
      at ArdupilotMega.Controls.HUD.Refresh () <0x0007e>
      at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x00247>
      at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x00027>
      at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x002ff>
      at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x00027>
      at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x002ff>
      at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x00027>
      at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x002ff>
      at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x00027>
      at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x002ff>
      at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x00027>
      at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x002ff>
      at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x00027>
      at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x002ff>
      at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs) <0x00027>
      at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs) <0x002ff>
      at System.Windows.Forms.Form.OnEnabledChanged (System.EventArgs) <0x00013>
      at System.Windows.Forms.Control.set_Enabled (bool) <0x0007b>
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Enabled (bool) <0xffffffff>
      at System.Windows.Forms.Form.OnFormClosed (System.Windows.Forms.FormClosedEventArgs) <0x00177>
      at System.Windows.Forms.Form.FireClosedEvents (System.Windows.Forms.CloseReason) <0x00041>
      at System.Windows.Forms.Form.RaiseCloseEvents (bool,bool) <0x000ff>
      at System.Windows.Forms.Form.set_DialogResult (System.Windows.Forms.DialogResult) <0x00037>
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.set_DialogResult (System.Windows.Forms.DialogResult) <0xffffffff>
      at System.Windows.Forms.Button.OnClick (System.EventArgs) <0x00037>
      at ArdupilotMega.Controls.MyButton.OnClick (System.EventArgs) <0x00013>
      at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs) <0x00123>
      at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs) <0x00013>
      at ArdupilotMega.Controls.MyButton.OnMouseUp (System.Windows.Forms.MouseEventArgs) <0x0001b>
      at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&) <0x0012b>
      at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x001c3>
      at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&) <0x00077>
      at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message&) <0x00013>
      at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x0001a>
      at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x0002b>
      at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x001ec>
      at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&) <0x00023>
      at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) <0x0001a>
      at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00a1b>
      at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window) <0x006e3>
      at System.Windows.Forms.Form.ShowDialog () <0x00013>
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog () <0xffffffff>
      at System.Windows.Forms.CustomMessageBox.Show (string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon) <0x0071b>
      at System.Windows.Forms.CustomMessageBox.Show (string,string,System.Windows.Forms.MessageBoxButtons) <0x00017>
      at ArdupilotMega.MainV2.CheckForUpdate () <0x0050b>
      at ArdupilotMega.MainV2.MainV2_Load (object,System.EventArgs) <0x002ef>
      at System.Windows.Forms.Form.OnLoad (System.EventArgs) <0x00062>
      at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs) <0x00084>
      at System.Windows.Forms.Form.OnCreateControl () <0x00057>
      at System.Windows.Forms.Control.CreateControl () <0x0012f>
      at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message&) <0x00117>
      at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x002b3>
      at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message&) <0x00013>
      at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message&) <0x00057>
      at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) <0x0023f>
      at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x0001a>
      at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x0002b>
      at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x001ec>
      at System.Windows.Forms.XplatUIX11.SendMessage (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x002b3>
      at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd,System.Windows.Forms.WindowType) <0x0019e>
      at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams) <0x00be3>
      at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams) <0x0001a>
      at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams) <0x00033>
      at System.Windows.Forms.Control.CreateHandle () <0x0007a>
      at System.Windows.Forms.Form.CreateHandle () <0x00017>
      at System.Windows.Forms.Control.CreateControl () <0x0008b>
      at System.Windows.Forms.Control.SetVisibleCore (bool) <0x0007b>
      at System.Windows.Forms.Form.SetVisibleCore (bool) <0x00227>
      at System.Windows.Forms.Control.set_Visible (bool) <0x00029>
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
      at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x0020b>
      at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0004f>
      at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00037>
      at ArdupilotMega.Program.Main () <0x0017b>
      at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

    Native stacktrace:

        mono() [0x80e16fc]
        mono() [0x81209fc]
        mono() [0x806094d]
        [0xb77b040c]
        /usr/lib/i386-linux-gnu/libpixman-1.so.0(+0x63eb0) [0xb5e2aeb0]
        /usr/lib/i386-linux-gnu/libpixman-1.so.0(+0x84ab4) [0xb5e4bab4]
        /usr/lib/i386-linux-gnu/libpixman-1.so.0(+0x50200) [0xb5e17200]
        /usr/lib/i386-linux-gnu/libpixman-1.so.0(+0x5051d) [0xb5e1751d]
        /usr/lib/i386-linux-gnu/libpixman-1.so.0(pixman_fill+0x5d) [0xb5dcc55d]
        /usr/lib/i386-linux-gnu/libcairo.so.2(+0x2b02a) [0xb60af02a]
        /usr/lib/i386-linux-gnu/libcairo.so.2(+0x2c20c) [0xb60b020c]
        /usr/lib/i386-linux-gnu/libcairo.so.2(+0x4cc25) [0xb60d0c25]
        /usr/lib/i386-linux-gnu/libcairo.so.2(+0x2206f) [0xb60a606f]
        /usr/lib/i386-linux-gnu/libcairo.so.2(cairo_paint+0x23) [0xb609c1b3]
        /usr/lib/libgdiplus.so.0(+0x1a9cc) [0xb62629cc]
        [0xb4b27520]
        [0xb4b274d0]
        [0xb4b24f80]
        [0xb4ac8ba8]
        [0xb4ac8b00]
        [0xb4ac06cc]
        [0xb4abfd10]
        [0xb4abfa77]
        [0xb4a44d68]
        [0xb4abf968]
        [0xb4a44e20]
        [0xb4abf968]
        [0xb4a44e20]
        [0xb4abf968]
        [0xb4a44e20]
        [0xb4abf968]
        [0xb4a44e20]
        [0xb4abf968]
        [0xb4a44e20]
        [0xb4abf968]
        [0xb4a44e20]
        [0xb4abf968]
        [0xb4a44e20]
        [0xb4abf934]
        [0xb4a44acc]
        [0xb4a44a1c]
        [0xb16e4660]
        [0xb16e446a]
        [0xb16e4240]
        [0xb1d44760]
        [0xb1d44704]
        [0xb1d44670]
        [0xb1d44624]
        [0xb1d4440c]
        [0xb1d442d4]
        [0xb1d442ac]
        [0xb1d4418c]
        [0xb4d730fc]
        [0xae74f4c8]
        [0xae74f99c]
        [0xb4d72f33]
        [0xb4d72f0c]
        [0xb4d7225d]
        [0xb4a3729c]
        [0xb1d41ab3]
        [0xae74ca1c]
        [0xb4abf464]
        [0xb4abed6c]
        [0xb4abed28]
        [0xb4abd62c]
        [0xb4abcee0]
        [0xb4b0046c]
        [0xae74e8a0]
        [0xb4a46dab]
        [0xb4a46b3d]
        [0xb4a46700]
        [0xb4d6d130]
        [0xb4d73eb0]
        [0xb4d731ec]
        [0xb4a442bc]
        [0xb4a44280]
        [0xb4a440d8]
        [0xb4d72f33]
        [0xb4d72f0c]
        [0xb4d7225d]
        [0xb4d71f64]
        [0xb4d73b8f]
        [0xb4d6e21c]
        [0xb4d6d633]
        [0xb4d6d5b4]
        [0xb4d6d333]
        [0xb4a423f8]
        [0xb4d6d08c]
        [0xb4d7b364]
        [0xb4a41fc8]
        [0xb4d7b2b2]
        [0xb4d7b254]
        [0xae74c20c]
        [0xb16e5df0]
        [0xb16e5b80]
        [0xb65275e4]
        [0xb708fd6e]
        mono() [0x8064c2c]

    Best Regards,

    Remi

  • This does not help you, but I am unabel to reproduce the crash with planner 1.1.75 on Ubuntu 12.04

    dpkg -s mono-runtime libmono2.0-cil libmono-winforms2.0-cil mesa-common-dev mesa-utils

    Package: mono-runtime
    Version: 2.10.8.1-1ubuntu2

    Package: libmono2.0-cil
    Version: 2.10.8.1-1ubuntu2

    Package: libmono-winforms2.0-cil
    Version: 2.10.8.1-1ubuntu2

    Package: mesa-common-dev
    Version: 8.0.2-0ubuntu3

    Package: mesa-utils
    Version: 8.0.1+git20110129+d8f7d6b-0ubuntu2

  • Hi all, I'm trying to run the Planner on Xubuntu 11.10, I installer mono just as Andke mentions above. I can get it to run but just as the main window appears I get a segmentation fault in the terminal and it crashes. Any ideas what might cause this?

  • I'm running  fresh install of 10.04 which is LT release so it has all he current updates. I'm not that keen on Unity for smaller note books or older computers. Mind you I didn't try it with VMware. How did you go with that?

This reply was deleted.