LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Google earth labview interface show both location and heading indicator

Hello all,

 

I've been searching the forums to try and find a solution, or at least a possible beginning to one, to my problem. What I'm attempting to do is to utilize the google earth interface for labview to display the location of a UAV. This has been done numerous times and is straight forward. Along with that, I need to be able to display a heading indicator for the aircraft. Most likely taking the form of a line extending from the center of the aircraft's icon in the direction the aircraft is flying. This is where I've been stumped. The plot would have to be updated every second or so with the new gps and heading data.

 

My thought was to overlay an xy plot on top of the google earth interface, which should allow for plotting both the location and course if I desired. This would require the overlayed plot to have the same scale as the google earth plot. Since the area the aircraft may be flying in will change drastically, I would need to be able to extract that data from google earth automatically (ideally) to allow xy plot axes to update to always match those of the google earth plot. I don't know how I would go about extracting that data.

0 Kudos
Message 1 of 3
(3,425 Views)

Hey flyingfisherman,

 

I'm not clear on exactly what data you are trying to extract from google earth? Is it the scale data?

 

Also, is this what you're using in LabVIEW? https://decibel.ni.com/content/docs/DOC-2117

I had no idea such a thing existed, so that's pretty cool.

 

K Johnson

National Instruments

0 Kudos
Message 2 of 3
(3,366 Views)

Sorry for the delay in replying. I could not get onto the NI forums for whatever reason.

 

Essentially what I was trying to extract were the lat/long coordinates for the 4 corners of the currently displayed map. That way I could scale an xy plot on top of the map and plot whatever I wanted.

 

I have since switched to a vi based off of this:

https://decibel.ni.com/content/docs/DOC-12505

 

It seems to function much better, however I am currently working around my issue, although I do have a few work arrounds such as creating a path for an object that can represent its direction of travel. Definitely not the nicest way, but it should work well enough!

0 Kudos
Message 3 of 3
(3,260 Views)