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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Camera Timestamp From Camera Server Question

Camera Timestamp From Camera Server Question

Scheduled Pinned Locked Moved Ask your questions right here!
2 Posts 2 Posters 503 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.
  • M Offline
    M Offline
    mkriesel
    Regular
    wrote on last edited by
    #1

    Hello, I am pulling images from the voxl-camera-server of a ar0144 camera over the modal pipe and was wonder what was meant by " int64_t timestamp_ns; ///< timestamp in apps-proc clock-monotonic of beginning of exposure", if this is the case if I am looking for the "center of exposure time" does this mean I take the "exposure_ns" and add half of that to the timestamp_ns?

    Alex KushleyevA 1 Reply Last reply
    0
    • M mkriesel

      Hello, I am pulling images from the voxl-camera-server of a ar0144 camera over the modal pipe and was wonder what was meant by " int64_t timestamp_ns; ///< timestamp in apps-proc clock-monotonic of beginning of exposure", if this is the case if I am looking for the "center of exposure time" does this mean I take the "exposure_ns" and add half of that to the timestamp_ns?

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by Alex Kushleyev
      #2

      @mkriesel,

      For global shutter camera like AR0144, the center of exposure will happen at the time that you suggested:

      int64_t center_of_exposure_ns = start_of_exposure_ns + exposure_time_ns / 2;
      

      For rolling shutter cameras, this is not true because different lines are exposed at different times. In this case, the center of exposure, which means the center of exposure of the middle line ( 🙂 ) will be:

      int64_t center_of_exposure_ns = start_of_exposure_ns + (exposure_time_ns + readout_time_ns)/2;
      

      This means that you will need to know the readout_time (which is time it takes for the full image to be transferred from the camera). It is not currently exposed in camera server or the camera metadata.

      Take a look at this resource, it should help understand the rolling shutter case if you need : https://www.1stvision.com/cameras/IDS/IDS-manuals/en/basics-shutter-mode.html , specifically:

      shutter_global.png

      shutter_rolling.png

      Alex

      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

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