![]() |
|
|||||||
| Add-ons & Scripts Find add-ons, scripts, and utilities for World Wind. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Senior Member
Join Date: Oct 2004
Location: Moffett Field, CA
Posts: 242
![]() |
Thanks, Javier! Now we need a decision on whether to include it in the core code, and when.
Jessi |
|
|
|
|
|
#12 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#13 | |
|
Senior Member
Join Date: Jun 2005
Posts: 105
![]() |
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:
|
|
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Jun 2005
Posts: 2
![]() |
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 |
|
|
|
|
|
#15 |
|
Senior Member
Join Date: Jun 2005
Posts: 105
![]() |
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 |
|
|
|
|
|
#16 |
|
Junior Member
Join Date: Sep 2004
Posts: 6
![]() |
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! |
|
|
|
|
|
#17 |
|
Cosmic laser
Join Date: Sep 2004
Posts: 2,998
![]() |
This is extremely cool.
Stop making me want to spend money on things like GPS units! ![]()
__________________
Donate to support your community! Please donate if you can - every donation helps improve World Wind World Wind Central - FAQs, Hotspots, Wiki and more...READ before posting! Need to upload files? Use my free 50Mb uploader! Or, how about some web hosting or web design? |
|
|
|
|
|
#18 |
|
Junior Member
Join Date: Jun 2005
Posts: 2
![]() |
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 |
|
|
|
|
|
#19 |
|
Senior Member
Join Date: Jun 2005
Posts: 105
![]() |
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 |
|
|
|
|
|
#20 |
|
Senior Member
Join Date: Jun 2005
Posts: 105
![]() |
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 |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |