Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL
  4. GPS time

GPS time

Scheduled Pinned Locked Moved VOXL
4 Posts 2 Posters 645 Views
  • 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.
  • C Offline
    C Offline
    Chris P
    wrote on last edited by
    #1

    I would like to be able to synchronize event across multiple platform by using gps time (or unix time based on gps time).

    I checked the gps_raw_int message which contains a timestamp but it only seems to be the time since boot and not an unix timestamp. It also seems like the sys_timestamp message might have a gps converted unix time but I am not sure if this message is available as a MPA pipe on the voxl side.

    Any pointer to get gps time synchronization would be appreciated 🙂 !
    Chris

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #2

      Hi,

      voxl-vision-px4 will set the system clock time based on gps time if there's not a network connection, so if you're running vvpx4 on the platforms you can use the system time to synchronize the events.

      If you want to pull from GPS directly, you can parse the gps messages from voxl-mavlink-server and get the GPS time yourself from there.

      C 1 Reply Last reply
      0
      • ? A Former User

        Hi,

        voxl-vision-px4 will set the system clock time based on gps time if there's not a network connection, so if you're running vvpx4 on the platforms you can use the system time to synchronize the events.

        If you want to pull from GPS directly, you can parse the gps messages from voxl-mavlink-server and get the GPS time yourself from there.

        C Offline
        C Offline
        Chris P
        wrote on last edited by
        #3

        @Alex-Gardner

        Thanks for the clarification. I am planning to have a local network enabled but without internet/ntp server. Is there a way to trigger the gps time sync manually in this situation ?

        Chris

        C 1 Reply Last reply
        0
        • C Chris P

          @Alex-Gardner

          Thanks for the clarification. I am planning to have a local network enabled but without internet/ntp server. Is there a way to trigger the gps time sync manually in this situation ?

          Chris

          C Offline
          C Offline
          Chris P
          wrote on last edited by
          #4

          @Chris-P

          to answer my own question, I checked the voxl-vision-px4 code and the system time will be set once from gps time (when valid) if it has not been set yet by ntp or manually.

          1 Reply Last reply
          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          ModalAI
          Categories Recent Tags ModalAI.com Docs
          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups