🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    AtomicGPS speed of movement - unit of measurement?

    Scheduled Pinned Locked Moved PRODUCTS
    3 Posts 2 Posters 8.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      macle
      last edited by

      Hello,

      I'm trying to get speed of movement of GPS module (AtomicGPS) using your example product code via GPS.s_GNRMC.TrackSpeed parameter from GPSAnalyse::AnaGPRMC function in GPSAnalyse.cpp.

      It seems this parameter returns speed values but in unknown (for me) scale.

      I've compare with speed measurement with my car measurement (kmh) and it seems AtomicGPS, results about half of the real speed (but there is correlation I think).

      What is unit of measurement returned by this function in example library??

      Regards,
      M

      1 Reply Last reply Reply Quote 0
      • M Offline
        macle
        last edited by

        Any hints?

        world101W 1 Reply Last reply Reply Quote 0
        • world101W Offline
          world101 @macle
          last edited by world101

          @macle

          Hi. I don’t have the AtomicGPS, but I did some digging around to try to understand the speed measurement within the GPSAnalyse.cpp file. I see this in that file relating to speed: _s_GNRMC.TrackSpeed = _s_GNRMC.pamstr[7].toFloat();

          Doing a quick google search on “GNRMC speed” I found this source that says GNRMC ground speed is in knots. Doing the conversion between knots and kph (1 knot =
          1.852 kilometers per hour), it seems about right that the GPS is reporting a speed measurement that is roughly half of your vehicle speed in kph (0.54 to be exact!).

          Hope this helps!

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post