GithubHelp home page GithubHelp logo

Comments (11)

dizcza avatar dizcza commented on July 26, 2024

Also, I don't understand what the track and speed are in UI parsed data. Other tags are self-explanatory. Could you perhaps add some explanation for these two variables in the readme? For example, I get N/A for the track most of the time and I don't know how bad it is.

from pygpsclient.

semuadmin avatar semuadmin commented on July 26, 2024

Hi @dizcza ,

Thanks for your interest in PyGPSClient - glad you're finding it useful.

To answer your questions in order:

  1. There are no current plans to enable MQAPIKEY via an environment variable - this can require elevated privileges on some platforms which makes it more fiddly to implement on a consistent cross-platform basis. Hopefully the key file option can work for you.
  2. Simple answer is no - I'm using the MapQuest API because it's free (for non-commercial use up to 15,000 transactions a month) and relatively easy to implement. Out of interest, do you see any particular advantage in using Google Maps rather than MapQuest? The maps are equally reliable in my experience. If it's the refresh rate that troubles you, you can alter that by changing the MAP_UPDATE_INTERVAL constant in globals.py, but please appreciate that the map is only provided for quick visual reference purposes. It's not intended to be a full interactive navigation or geolocation aid.
  3. Can you clarify which particular UBX or NMEA message type(s) you're referring to containing the track and speed attributes? Without knowing which device you're using or how/where it's configured, I can't speak for the particular readings you're getting, but if you tell me which message type you're getting it from I can at least advise on its interpretation.

from pygpsclient.

dizcza avatar dizcza commented on July 26, 2024

I'm using a Neo-6M. NMEA protocol.

from pygpsclient.

semuadmin avatar semuadmin commented on July 26, 2024

ok that's a fairly old device. which specific NMEA message type are you getting speed and track from?

from pygpsclient.

dizcza avatar dizcza commented on July 26, 2024

do you see any particular advantage in using Google Maps rather than MapQuest?

I can freely navigate in a google map.

from pygpsclient.

dizcza avatar dizcza commented on July 26, 2024

this can require elevated privileges on some platforms which makes it more fiddly to implement on a consistent cross-platform basis.

Why? The os built-in module is cross-platform, isn't it?

import os
key = os.environ.get("MQAPIKEY")

Then I can launch the app with MQAPIKEY=... pygpsclient. Linux folks will appreciate this.

from pygpsclient.

semuadmin avatar semuadmin commented on July 26, 2024

OK so the log you've provided contains a variety of NMEA messages - the message type is bit after <NMEA(, so for example GPRMC, GPVTG, GPGLL etc. (CAUTION - the coordinates in this log are now visible in the public domain)

The spd attribute in the GPRMC message, for example, represents the speed over ground in knots; likewise the sogn attribute in GPVTG. The sogk attribute in GPVTG represents speed over ground in km/h. I would refer you to the data sheet for your particular device for further information, or post a general question in the u-blox support forum https://portal.u-blox.com/s/.

from pygpsclient.

semuadmin avatar semuadmin commented on July 26, 2024

do you see any particular advantage in using Google Maps rather than MapQuest?

I can freely navigate in a google map.

But, as I say, the map in PyGPSClient is not intended for navigation purposes - it's purely to provide a quick visual reference of the location and horizontal accuracy (where available) provided by the device. There are plenty of other apps available if you want to use a connected GNSS device for real-time navigation.

from pygpsclient.

dizcza avatar dizcza commented on July 26, 2024

CAUTION - the coordinates in this log are now visible in the public domain

True. I'll delete the log.

You're right about sticking to simplicity. Your app is cool anyway and perhaps it got working from the start just because it's simple, meant to have a quick look, and lacks features that otherwise would turn your project into a gigantic dependencies list (which would make me feel to search for a simpler solution).

from pygpsclient.

dizcza avatar dizcza commented on July 26, 2024

All right. Thanks for your help.

from pygpsclient.

semuadmin avatar semuadmin commented on July 26, 2024

All right. Thanks for your help.

More than happy to consider feature requests. I will as I say look into provisioning map keys as ENV variables, but I may not get round to it for a while. In the meantime, if there's any functionality you think PyGPSClient could usefully provide within the context of a (relatively) simple Python/tkinter diagnostic and configuration tool, by all means raise the suggestion. Cheers.

from pygpsclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.