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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. VOXL camera server hires large & small frames in HAL3 PerCameraMgr

VOXL camera server hires large & small frames in HAL3 PerCameraMgr

Scheduled Pinned Locked Moved Unsolved General Questions
2 Posts 2 Posters 497 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.
  • B Offline
    B Offline
    brahim
    Contributor
    wrote on last edited by
    #1

    In the PerCameraMgr class, there is a function that process a single camera capture result (frame?) and prints the timestamp (meta.timestamp_ns).

    We are attempting to compare the frame timestamp with the system time, which we have been able to do successfully, however it only looks like the camera frame is from hires small?

    How can we distinguish between hires large and small in the hal3 camera manager code? We just need to compare timestamps but need to confirm if the metadata printed is from hires large or small, or both

    
    Download
    VERBOSE: 	Frame Timestamp: 1708331612528
    	Sys Timestamp: 1708373675076
    	Diff Timestamp: 42062548
    VERBOSE: 	Gain: 54
    VERBOSE: 	Exposure: 270328
    VERBOSE: Received result from HAl3 for frame number 0
    VERBOSE: Received 1 buffers from camera hires, partial result:0
    VERBOSE: Received output buffer 0 from camera hires
    VERBOSE: finished sending request for frame 5 for camera hires
    VERBOSE: returning from SendOneCaptureRequest for frame 6 for camera hires
    VERBOSE: hires procesing new buffer
    VERBOSE: Camera: hires processing small vid frame
    VERBOSE: added request for small video stream
    VERBOSE: Sending request for frame 6 for camera hires for 1 streams
    VERBOSE: Received result from HAl3 for frame number 4
    VERBOSE: Received 0 buffers from camera hires, partial result:1
    VERBOSE: Received result from HAl3 for frame number 1
    VERBOSE: Received 0 buffers from camera hires, partial result:2
    VERBOSE: Received metadata for frame 1 from camera hires
    VERBOSE: 	Frame Timestamp: 1708398182893
    	Sys Timestamp: 1708435426587
    	Diff Timestamp: 37243694
    VERBOSE: 	Gain: 54
    VERBOSE: 	Exposure: 270328
    VERBOSE: Received result from HAl3 for frame number 0
    VERBOSE: Received 0 buffers from camera tof, partial result:2
    VERBOSE: Received metadata for frame 0 from camera tof
    VERBOSE: 	Frame Timestamp: 1708453167425
    	Sys Timestamp: 1708454078149
    	Diff Timestamp: 910724
    VERBOSE: 	Gain: 0
    VERBOSE: 	Exposure: 0
    VERBOSE: Received result from HAl3 for frame number 1
    VERBOSE: Received 1 buffers from camera hires, partial result:0
    VERBOSE: Received output buffer 1 from camera hires
    VERBOSE: finished sending request for frame 6 for camera hires
    VERBOSE: returning from SendOneCaptureRequest for frame 7 for camera hires
    VERBOSE: added request for small video stream
    
    1 Reply Last reply
    0
    • ModeratorM Offline
      ModeratorM Offline
      Moderator
      ModalAI Team
      wrote on last edited by
      #2

      All output pipes that begin with "hires" should have the same timestamp for each frame as they all come from the same image frame. the small and large pipes are simply different resolutions being encoded for different use cases from the same source camera frame

      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