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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL 2 and VOXL 2 Mini
  3. Mavlink / TFLite / Camera server timestamps

Mavlink / TFLite / Camera server timestamps

Scheduled Pinned Locked Moved Unsolved VOXL 2 and VOXL 2 Mini
voxl-2
2 Posts 2 Posters 830 Views 1 Watching
  • 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.
  • Plingaas02P Offline
    Plingaas02P Offline
    Plingaas02
    wrote on last edited by
    #1

    Hi ModalAI team,

    We are working on high-speed mapping. We are currently looking at matching timestamps, but there seems to be a lot of different implementations in the source code. Can you confirm which clock these timestamps are in, and if any of them are synced?

    voxl-camera-server, timestamp for image capture at exposure start, or at image published to pipe?
    voxl-tflite-server, we use the image metadata to overwrite the ai_detection_t timestamp.
    voxl-mavlink-server, we need to match odometry to image exposure time, this is our biggest confusion atm.

    And in general, which function should we be using to get the current time on the voxl?
    apps_time_monotonic_ns()?

    Best regards,
    Peter

    Eric KatzfeyE 1 Reply Last reply
    0
    • Plingaas02P Plingaas02

      Hi ModalAI team,

      We are working on high-speed mapping. We are currently looking at matching timestamps, but there seems to be a lot of different implementations in the source code. Can you confirm which clock these timestamps are in, and if any of them are synced?

      voxl-camera-server, timestamp for image capture at exposure start, or at image published to pipe?
      voxl-tflite-server, we use the image metadata to overwrite the ai_detection_t timestamp.
      voxl-mavlink-server, we need to match odometry to image exposure time, this is our biggest confusion atm.

      And in general, which function should we be using to get the current time on the voxl?
      apps_time_monotonic_ns()?

      Best regards,
      Peter

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      @Plingaas02 Regarding odometry in voxl-mavlink-server, it will not modify timestamps on this message. There will be, potentially, VIO odometry messages going to the flight controller from voxl-vision-hub via voxl-mavlink-server and flight controller odometry messages being routed out to the GCS and to the onboard stream. The odometry messages coming from PX4 will have the DSP monotonic timestamp which is different than the Linux monotonic clock and these will drift with respect to each other over time. PX4 runs the timesync service so it can correct the incoming messages from VIO.

      1 Reply Last reply
      0

      Reading along? Create a free ModalAI Forum account to join in.

      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

      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