Results 1 to 6 of 6

Thread: Can't full floating point lon/lat out of MapMonkey

  1. #1
    Constant Bitrate Goddy's Avatar
    Join Date
    Dec 2004
    Location
    Netherlands
    Posts
    151

    Can't get floating point lon/lat out of MonkeyTalk.dll in Delphi

    I am trying to make my own lon/lat logger for mapmonkey, because the current one is fixed to 10 seconds.

    After a while I managed to get the .dll working and reading data from MapMonkey. But when I'm getting the lon/lat coordinates it is converting them to numbers instead of full floating points.

    This is how I coded it and what i got:


    Memo1.Lines.Add('Lat: ' + floattostrf(MonkeyMessenger1.Latitude,ffFixed,15,8 ) + ' Lon: ' + floattostr(MonkeyMessenger1.Longitude));

    Result: Lat: 52,00000000 Lon: 4

    I tried to convert it using the format with floattostrf() and with floattostr() but I got no luck.

    What am I doing wrong? Thanks

  2. #2
    Maximum Bitrate DeltaFX's Avatar
    Join Date
    Sep 2004
    Location
    France
    Posts
    499
    Is this delphi ?

    Depending on your OS, you could use xport or Gpsgate to duplicate your comport, then read that duplicated comport with yourown app.

    Do you have a link to the doc for this dll ?
    Now Galileo is real. Muhahahahaha :p

  3. #3
    Constant Bitrate Goddy's Avatar
    Join Date
    Dec 2004
    Location
    Netherlands
    Posts
    151
    Its just MonkeyTalk.dll in Delphi (7.0). Comport splitter will only be more work.

    The Lat/lon is just ready to grab but for some reason im getting rounded numbers instead of real/double/float.

  4. #4
    Maximum Bitrate DeltaFX's Avatar
    Join Date
    Sep 2004
    Location
    France
    Posts
    499
    I don't use MapMonkey, that why I asked for a doc about that dll.
    Now Galileo is real. Muhahahahaha :p

  5. #5
    Newbie
    Join Date
    May 2006
    Posts
    4
    I was attended to this thread after posting my own, but here's the solution:

    MonkeyTalk only reporting limited GPS coords?

  6. #6
    Constant Bitrate Goddy's Avatar
    Join Date
    Dec 2004
    Location
    Netherlands
    Posts
    151
    Yes, that got it fixed, thanks

Similar Threads

  1. Replies: 4
    Last Post: 01-29-2005, 06:35 PM

Bookmarks

Posting Permissions

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