Page 2 of 23 FirstFirst 123456712 ... LastLast
Results 11 to 20 of 222

Thread: Real time GPS tracking

  1. #11
    Senior Member Jessi's Avatar
    Join Date
    Oct 2004
    Location
    Moffett Field, CA
    Posts
    238

    Default

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

    Jessi

  2. #12
    Matthew
    Guest

    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

  3. #13
    Senior Member
    Join Date
    Jun 2005
    Posts
    105

    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

    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

  4. #14
    Junior Member
    Join Date
    Jun 2005
    Posts
    2

    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,1230 3.9834,W,000.0,000.0,040605,,*2A
    $GPGLL,4920.5268,N,12303.9834,W,210 048.00,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,1230 3.9843,W,000.0,000.0,040605,,*26
    $GPGLL,4920.5256,N,12303.9843,W,210 058.00,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

  5. #15
    Senior Member
    Join Date
    Jun 2005
    Posts
    105

    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

  6. #16
    Junior Member
    Join Date
    Sep 2004
    Posts
    6

    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!

  7. #17

    Default

    This is extremely cool.

    Stop making me want to spend money on things like GPS units!

  8. #18
    Junior Member
    Join Date
    Jun 2005
    Posts
    2

    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

  9. #19
    Senior Member
    Join Date
    Jun 2005
    Posts
    105

    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

  10. #20
    Senior Member
    Join Date
    Jun 2005
    Posts
    105

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •