Shop OBEX P1 Docs P2 Docs Learn Events
GPS variables — Parallax Forums

GPS variables

ArchiverArchiver Posts: 46,084
edited 2001-04-20 19:47 in General Discussion
I am trying to input GPS latitude and longitude data into a math
program that does a distance conversion between two coordinates. I am
getting the GPS data as an array using the SERIN command. The only
problem I am having is figuring out how to put the information into
the program since the GPS data is constantly changing.

Any help would greatly be appreciated.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-04-20 18:47
    I know from using a GPS on a motorcycle, the way it logs its path is to
    record the position, direction and speed (via time/distance) from the last
    change in direction. This is how the trail of bread crumbs feature works on
    the Garmins. To conserve memory, they recently increased the amount of
    directional change it takes for it to record a new log entry.


    Original Message

    > I am trying to input GPS latitude and longitude data into a math
    > program that does a distance conversion between two coordinates. I am
    > getting the GPS data as an array using the SERIN command. The only
    > problem I am having is figuring out how to put the information into
    > the program since the GPS data is constantly changing.
    >
    > Any help would greatly be appreciated.
  • ArchiverArchiver Posts: 46,084
    edited 2001-04-20 19:47
    mdmontoya22@yahoo.com[size=-1]··can you send your program to me mklarich@stoneflyers.com. I am working on GPS project for robotics and am having programming problems with this being my first dive into pbasic. I programmed basic back in highschool and have forgotten a little. I am currently reading GPRMC and GPRMB for true headings and a few other items but I really need to put them in an array in the ram to get some speed out of this. It is for a GPS guided R/C truck and next semester for an airplane.[/size]

    Thanks much,
    Matt Klarich


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Do You Yahoo!?
    Yahoo! Auctions - buy the things you want at great prices
Sign In or Register to comment.