World Wind Forums

Go Back   World Wind Forums > Community > Add-ons & Scripts

Add-ons & Scripts Find add-ons, scripts, and utilities for World Wind.

Reply
 
Thread Tools Display Modes
Old 06-16-2005, 01:57 AM   #11
Jessi
Senior Member
 
Jessi's Avatar
 
Join Date: Oct 2004
Location: Moffett Field, CA
Posts: 242
Jessi
Default

Thanks, Javier! Now we need a decision on whether to include it in the core code, and when.

Jessi
Jessi is offline   Reply With Quote
Old 06-18-2005, 08:22 AM   #12
Matthew
Guest
 
Posts: n/a
Default

I am following this thread with great interest, it would be great also to be able to read NMEA sentences from a UDP port(s) as well as a com port, and plot them in world wind. We have applications that send GPS data wirelessly to UDP ports it would be great to see this data on a global scale in WW.

matthew
  Reply With Quote
Old 06-19-2005, 03:56 AM   #13
javier.santoro
Senior Member
 
Join Date: Jun 2005
Posts: 105
javier.santoro
Default

That's a great idea. I would really like to implement it. I have experience (from my work) with TCP|UDP programming. Perhaps you could let me know the format of the GPS data that you are sending in your applications.

I'm about to upload a new version of the GPSTracker class (http://issues.worldwind.arc.nasa.gov/browse/WW-205). I just added an "Auto Detect" button. If the user does not have much idea of the COM settings for the GPS device, they can click on this button and the GPS tracker class will try to find the GPS device in COM ports 1 to 9 (Baud rates 2400 to 9600, Byte size hardcoded to 8, Parity hardcoded to none, Stop bits hardcoded to 1).

Thanks, Javier

Quote:
Originally posted by Matthew@Jun 18 2005, 01:22 AM
I am following this thread with great interest, it would be great also to be able to read NMEA sentences from a UDP port(s) as well as a com port, and plot them in world wind. We have applications that send GPS data wirelessly to UDP ports it would be great to see this data on a global scale in WW.

matthew
javier.santoro is offline   Reply With Quote
Old 06-21-2005, 09:05 AM   #14
Matthew
Junior Member
 
Join Date: Jun 2005
Posts: 2
Matthew
Default

Hi Javier,

Thanks for working on this.

The data that is being sent to the UDP port is standard
NMEA sentences. There are other sentences not related to position that can be ignored,
see below for an example of a data session captured via a UDP port.

[04 Jun - 14:03:46] (198.230.164.239) :
$GPRMC,210048.00,A,4920.5268,N,12303.983 4,W,000.0,000.0,040605,,*2A
$GPGLL,4920.5268,N,12303.9834,W,210048.0 0,A*1A
$GPGGA,210049.00,4920.5268,N,12303.9834, W,1,5,01.8,+00210,M,,M,,0000*57
$PCTM,-94dBm,16422,2,1,198.230.164.239*59


[04 Jun - 14:03:56] (198.230.164.239) :
$GPRMC,210058.00,A,4920.5256,N,12303.984 3,W,000.0,000.0,040605,,*26
$GPGLL,4920.5256,N,12303.9843,W,210058.0 0,A*16
$GPGGA,210058.00,4920.5256,N,12303.9843, W,1,5,01.8,+00216,M,,M,,0000*5C
$PCTM,-95dBm,16422,2,1,198.230.164.239*58

etc, etc.

Let me know if you need more examples of this type of data, I could send you a data file logged from a UDP port.

Matthew
Matthew is offline   Reply With Quote
Old 06-30-2005, 07:05 AM   #15
javier.santoro
Senior Member
 
Join Date: Jun 2005
Posts: 105
javier.santoro
Default

Hello,

I have just uploaded version 0.07 of the GPSTracker class and GPSTrackerPlugin class to the WorldWind Issues tracking system. This version implements getting NMEA data from a user selectable UDP port (as Matthew suggested) as well as from an internal COM port.

Thanks, Javier
javier.santoro is offline   Reply With Quote
Old 07-01-2005, 08:57 PM   #16
bkc
Junior Member
 
Join Date: Sep 2004
Posts: 6
bkc
Default

Can someone post a binary of the plugin so I can try it out?

I just got my bluetooth dongle and BT-338 today, and I'm ready to go out and try it this weekend.

btw, you can't search for 'gps' using this forum software, it complains that the search string is less than 4 characters. Argh!
bkc is offline   Reply With Quote
Old 07-02-2005, 12:55 AM   #17
Beansprout
Cosmic laser
 
Join Date: Sep 2004
Posts: 2,998
Beansprout is an unknown quantity at this point
Default

This is extremely cool.

Stop making me want to spend money on things like GPS units!
Beansprout is offline   Reply With Quote
Old 07-09-2005, 09:22 AM   #18
Matthew
Junior Member
 
Join Date: Jun 2005
Posts: 2
Matthew
Default

Hi Javier,

thanks for taking the suggestion of adding UDP functionaliity this will be great. Do you have a plugin that I could test. I have looked at your issues report, but am unclear how to load the plugin. I downloaded the GPStracker.cs file but when I try and load it as a plugin it gives me errors. I am unsure of what to do with the worldwind.cs file as well. I am quite a rookie at this whole plugin thing.

Thanks

Matthew
Matthew is offline   Reply With Quote
Old 07-09-2005, 05:24 PM   #19
javier.santoro
Senior Member
 
Join Date: Jun 2005
Posts: 105
javier.santoro
Default

Hi Matthew,

To use the plugin you need 1.3.2 alpha 2 or later.
Please download the latest version of GPSTrackerPlugin.cs from this address:

http://www.twobeds.com/upload/userfi...ckerPlugin.zip

Or, you can also get it from the Add-ons list at www.WorldWindCentral.com

Unzip and copy GPSTrackerPlugin.cs to the Plugins directory of your WorldWind installation.

Run WorldWind and select the menu Plug-Ins|Load/Unload..., click Yes to "Do you wish to enable plugins?" message box (if it comes up), select the GPS Tracker plug in (you can click on startup if you want the plugin to always load in startup) and click Load.

Now, if you go to the Tools menu you should have a GPSTracker item at the bottom.
Click on it and the GPSTracker settings window will open.
If you want to track from a local serial GPS device, goto to the COM port settings tab, set the COM port options (or use Auto Detect) and click Track.
If you want to track from an UDP port goto the UDP port settings, enter the UDP port number and click Track.

If the GPS Tracker menu item appears checked it means the Gps tracking is active and satellites are locked, if it's not checked it means the gps tracking is not active or that it is active but there's no satellite lock. If GPS tracking is active, click on the GPS tracker menu to stop tracking.

Please, let me know if you found any problems,
Thanks, Javier
javier.santoro is offline   Reply With Quote
Old 07-10-2005, 09:32 PM   #20
javier.santoro
Senior Member
 
Join Date: Jun 2005
Posts: 105
javier.santoro
Default

Hello,

Please download the latest version of GPSTrackerPlugin.cs from this address:

http://www.twobeds.com/upload/userfiles/ja...ackerPlugin.zip

Or, you can also get it from the Add-ons list at www.WorldWindCentral.com

Please, read my previous reply with information on how to use the plugin.
You need WorldWind 1.3.2 alpha 2 or later.
Let me know if there's any problem.
Thanks, Javier
javier.santoro is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to server fleak Technical Support 4 08-11-2009 09:37 PM
Tracking the space shuttle in real time DownUnder Add-ons & Scripts 9 09-06-2005 10:10 PM
WHEN A REAL TIME WORLD WIND? SJGSM Suggestion Box 8 04-23-2005 06:35 PM
Can't connect to servers hroo772 Technical Support 11 02-12-2005 01:19 AM
Real Time Satellite Tracking Guest Suggestion Box 3 10-25-2004 02:04 PM


All times are GMT +1. The time now is 03:53 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.