New MP HUD I have been working on

Hi everyone,

I have been working on a new HUD for MP and was looking to get feedback of what I have so far…

I am using the FAA DOF (daily obstacle file) for obstacles and adsbexchange.com for live adsb data. Also created a synthetic type vision to put these on the hud. Added some touch friendly buttons for when we are using touch enabled devices. It also uses the terrain data + obstacle data to provide an elevation guide. You can tell I got a lot of my ideas from the G1000 MFD.
The HUD also displays waypoints as floating boxes in the sky… you can see in the one screenshot they are pink in color and off in the distance to the left at horizon level.

I haven’t got these changes ready for submission but eventually I plan to try to get them added to the main fork of MP.


5 Likes

I will follow this with interest, particularly the ADS-B bit. We have a chain of receivers running along South Africa’s N3 highway for about 500km. If anything they show how few aircraft are equipped with ADS-B! I love your little traffic screen at the bottom left. Filtering on that would be excellent, http://radar.3dronemap.com:9090/VirtualRadar/desktop.html We have to have the ability to add in whatever other electronic conspiquity method comes along, as ADS-B is well, pants :wink:

Great work well done.

1 Like

I asked in the other thread,but i’ll ask again here.
I know these are drones and not human flown, but being that they “might” fly in commercial airspace do you intend to get this interface DO178C Level A certified as a Primary Flight Display for the operators?

If you do, I understand that MP can’t take advantage of the certification, but without question, the commit you fork back into the master could certainly be tagged “DO178C Level A certifiable”. That’s a GREAT selling point…just a thought.

There are a lot of other questions I have (as a former Airworthiness person) but i’ll restrain myself. I’m really interested whether if you’re using this for real time flight how you can make latency guarantees. I’m not being critical, if this upgrade is being developed at such high standards, it’ll be a good thing for the mission planner master branch.

Hi @lordneeko, not that I am ignoring you… just that I don’t know the answer for that specifically on the certification.

We use this and the old one as monitoring for auto missions and changing mission parameters on the fly. There is no latency guarantees and I don’t believe a way to make one because it’s dependant on the communication channel you use between MP and the drone. If you had it hard wired then sure… but with radio links there are going to be unseen circumstances.
I supposed you could make the guarantee that if the data arrives at MP it will be displayed one way or another :slight_smile:

Well it’s all about hazard and risk mitigation. If you know that you cannot have a garaunteed QoS from the connection, then you would have fail safes to back it up when you don’t have connection. But really you’re just using it for situational awareness, not flying the drone, so it isn’t important…but it also means that the FAA would prohibit flying it manually while watching this display

I definitely see us using this. It’s a familiar scan (using Aspen 1000 in the 172) that will help with SA as we fly in the mountains. I also really like the TCAS in the lower left as we’ve been out flying in the past and had manned traffic pop over the ridge with short notice. As a whole, what you’ve produced thus far has really got me re-thinking how we have our GCS set up and what ways we could provide information to the pilot that is more intuitive and takes less interpretation. Looks great and looking forward to seeing it develop.

For anyone wanting to give it a go:

1 Like

Maybe I’m doing something wrong, but I can’t get it to install correctly on Win10.
MP-Hud-2

It’s complaining about a missing SQL library that should be in the rar file… did you extract the archive to a folder and run mission planner from that folder?

Yes.
Do the references to your Dropbox make a difference?

They shouldn’t, no… I will extract to a new pc when I get a chance for some testing.

I was able to extract and click on the mission planner app within the new folder it created on my desktop for this and the new HUD came right up. Is there a way to actually install this instead of run from the folder, is that what you are running into @TXPE

I was able to run the program once but now im getting the same error as TXPE.

Mission planner doesn’t “install” either in the sense you’re thinking. It just creates a shortcut to launch it. You can just right-click the exe, and click “Add Shortcut to Desktop” to install it :slight_smile:

@lordneeko

I was able to launch the New_HUD MP from the folder once extracted by clicking the exe. but now it seems when I try and click it again I get the same error as TXPE.

This is probably something to be solved by the developer, to ensure the app is portable. @jelkins did you add custom packages to MP in order to create this version? If so, you may not have made the build process to include those packages. Which means it’ll work on your computer, but not others, unless they install that package. I’m not sure why i’m explaining this. If you wrote this MP version, you clearly know all this lol. I guess maybe i was explaining it to the others trying to use it. lol

Yep, have to get time to troubleshoot what is missing… obviously SQL Type appears to be missing but I have to figure out exactly what’s missing and exactly what will fix the missing dependency… probably a library install. The Sql Type should be included in the bin but that doesn’t mean all it’s required libraries got put there.
I have had others testing and have hadn’t the issue… I will look at it as soon as I get time.

From the link above. It’s likely that users will need to install SQLServerExpress

This issue was made worse by the fact that I first created this solution on a machine, where SQL Server was installed, so I was very much oblivious of the issue until it hit me on the face while trying to run my program on this particular machine, which did not have SQL Server

2 Likes

very easy
You have used your local PC
There are many files missing in the project.
Collect all files used and modify links
Example
C: \ mp-1.3.55-hud

You have linked to your Derbox folder

C:\Users\jamese\Dropbox\other\GCS\MyMp\ExtLibs\Controls\MyUserControl.cs
c:\users\jamese\dropbox\other\gcs\mymp\extlibs\controls\myusercontrol.cs
C:\Users\jamese\Dropbox\other\GCS\MyMp\ExtLibs\Controls\CustomMessageBox.cs
c:\users\jamese\dropbox\other\gcs\mymp\extlibs\controls\custommessagebox.cs
C:\Users\jamese\Dropbox\other\GCS\MyMp\ExtLibs\Controls\ControlExt.cs
c:\users\jamese\dropbox\other\gcs\mymp\extlibs\controls\controlext.cs
C:\Users\jamese\Dropbox\other\GCS\MyMp\ExtLibs\Controls\ControlExtensions.cs

2 Likes

Hi James,
Any news on this ? Perhaps a peek to the source ?
Thanks,
Andras

@jelkins I’m getting the same error as @TXPE looking for files in your Dropbox folder. Would @jbreel’s suggestion to modify the links of the needed files? The other error messages are below. Please advise.

Thanks.

image

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Exception: Unable to create control FlightData of type —> System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at MissionPlanner.Controls.MainSwitcher.CreateControl(Screen current) in C:\Users\jamese\Dropbox\other\GCS\MyMp\ExtLibs\Controls\MainSwitcher.cs:line 84
— End of inner exception stack trace —
at MissionPlanner.Controls.MainSwitcher.CreateControl(Screen current) in C:\Users\jamese\Dropbox\other\GCS\MyMp\ExtLibs\Controls\MainSwitcher.cs:line 88
at MissionPlanner.Controls.MainSwitcher.ShowScreen(String name) in C:\Users\jamese\Dropbox\other\GCS\MyMp\ExtLibs\Controls\MainSwitcher.cs:line 138
at MissionPlanner.MainV2.MenuFlightData_Click(Object sender, EventArgs e) in C:\Users\jamese\Dropbox\other\GCS\MyMp\MainV2.cs:line 1308
at MissionPlanner.MainV2.OnLoad(EventArgs e) in C:\Users\jamese\Dropbox\other\GCS\MyMp\MainV2.cs:line 2893
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at MissionPlanner.MainV2.WndProc(Message& m) in C:\Users\jamese\Dropbox\other\GCS\MyMp\MainV2.cs:line 3892
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

MissionPlanner
Assembly Version: 1.3.55.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/MissionPlanner.exe

log4net
Assembly Version: 2.0.8.0
Win32 Version: 2.0.8.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/log4net.DLL

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

MissionPlanner.Utilities
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/MissionPlanner.Utilities.DLL

MAVLink
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/MAVLink.DLL

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

MissionPlanner.Controls
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/MissionPlanner.Controls.DLL

MissionPlanner.Comms
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/MissionPlanner.Comms.DLL

GMap.NET.Core
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/GMap.NET.Core.DLL

MissionPlanner.Maps
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/MissionPlanner.Maps.DLL

netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.7.3062.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

MissionPlanner.ArduPilot
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/MissionPlanner.ArduPilot.DLL

GDAL.NET
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/GDAL.NET.DLL

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll

System.Reactive.Linq
Assembly Version: 3.0.3000.0
Win32 Version: 3.1.1.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/System.Reactive.Linq.DLL

System.Reactive.Interfaces
Assembly Version: 3.0.1000.0
Win32 Version: 3.1.1.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/System.Reactive.Interfaces.DLL

System.Reactive.Core
Assembly Version: 3.0.3000.0
Win32 Version: 3.1.1.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/System.Reactive.Core.DLL

System.Drawing.Common
Assembly Version: 4.0.0.0
Win32 Version: 4.6.26216.02
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/System.Drawing.Common.DLL

ProjNet
Assembly Version: 1.2.4455.27045
Win32 Version: 1.2.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/ProjNet.DLL

Transitions
Assembly Version: 1.2.0.0
Win32 Version: 1.2.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/Transitions.DLL

BSE.Windows.Forms
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/BSE.Windows.Forms.DLL

ZedGraph
Assembly Version: 5.1.5.0
Win32 Version: 5.1.5.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/ZedGraph.DLL

ObjectListView
Assembly Version: 2.5.1.30870
Win32 Version: 2.5.1.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/ObjectListView.DLL

GMap.NET.WindowsForms
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/GMap.NET.WindowsForms.DLL

MapObjectData
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/MapObjectData.DLL

EntityFramework
Assembly Version: 6.0.0.0
Win32 Version: 6.2.61023.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/EntityFramework.DLL

EntityFramework.SqlServer
Assembly Version: 6.0.0.0
Win32 Version: 6.2.61023.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/EntityFramework.SqlServer.DLL

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

DirectShowLib
Assembly Version: 2.1.0.1599
Win32 Version: 2.1.0.1599
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/DirectShowLib.DLL

AltitudeAngelWings
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/-%20MultiRotors/Mission%20Planner/Mission%20Planner%20-1.3.55-HUD%20Experimental/AltitudeAngelWings.DLL

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.