ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    tracking down pipe switching to images of traccking front camera

    Video and Image Sensors
    2
    7
    58
    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
      mark
      last edited by

      Hello I am encountering a weird issue using the M0173 with 2 IMX412 cameras and 2 AR0144 cameras.
      The streams of the tracking cameras start out correct when (re)starting the voxl-camera-server, but after some point the tracking_down seems to copy the tracking_front images. Do you maybe know a solution for this problem? or have you seen this happen before? any help would be appreciated.
      ce3bed50-1dd2-4ab6-aff7-4f8601369c14-image.png
      cb9e567d-4186-4094-9d02-b39f257a0c0e-image.png
      I am using sdk 1.4.5 on the drone.

      Alex KushleyevA 1 Reply Last reply Reply Quote 0
      • Alex KushleyevA
        Alex Kushleyev ModalAI Team @mark
        last edited by

        @mark , we have seen this issue when using 10- or 12-bit drivers for the AR0144 tracking cameras. These drivers are shipped with the SDK but are not stable (for this exact reason).

        Can you please confirm which ar0144 sensormodules you are using - you can check in /usr/lib/camera.

        Alex

        M 1 Reply Last reply Reply Quote 0
        • M
          mark @Alex Kushleyev
          last edited by

          hi @Alex-Kushleyev, i am not using the 10 or 12 bit drivers, everything was set up using voxl-configure-cameras 28 this is what the /usr/lib/camera folder looks like (the .tuned files of the 412 camera were renamed in order to use the default .tuned files, which gave the best image for our application)
          f03b48ab-2f62-4c9e-ad4b-cc0db17ce51b-image.png

          M 1 Reply Last reply Reply Quote 0
          • M
            mark @mark
            last edited by

            @Alex-Kushleyev, By the way, as i was comparing this VOXL2 to one which does not have this same issue, i noticed that the board seemed to be an older one, could this have anything to do with it?
            VOXL with the issue:
            69799746-8bb1-463f-ba1a-b99c16e24a59-Screenshot from 2025-11-27 09-03-38.png
            VOXL which behaves as expected:
            a27a1ef5-0ddb-450f-8ba4-ce97641b6cf1-Screenshot from 2025-11-27 09-03-24.png

            Alex KushleyevA 1 Reply Last reply Reply Quote 0
            • Alex KushleyevA
              Alex Kushleyev ModalAI Team @mark
              last edited by

              @mark, thank you for the details. It should not matter whether M0054 or M0154 voxl is used.

              Can you please do a test and disable both hires cameras and see if the issue is still reproducible? If the issue is gone, then enable one hires camera and test again.

              Also, does setting cpu to perf mode help with this? (Voxl-set-cpu-mode perf)

              I have never seen this happen with out stable camera configs, such as C28, so this is very odd!

              Alex

              M 1 Reply Last reply Reply Quote 0
              • M
                mark @Alex Kushleyev
                last edited by

                Hi @Alex-Kushleyev i ran the tests, and it seems that the issue only occurs when both the hires cameras are enabled. when one or the other is disabled, this problem does not occur. Also running the CPU in performance does make it run normally longer, but the stream still switches.
                Looking again at the images of the VOXLs i notice that a resistor in the bottom left of the frame is not placed in the m0054 version that is placed in the m0154 version. I placed a 100k resistance there (same as on the other resistances.) and that seemed to work, at least for this VOXL. Could it be that this is related to the I2C address of the camera or the VOXL?

                Alex KushleyevA 1 Reply Last reply Reply Quote 0
                • Alex KushleyevA
                  Alex Kushleyev ModalAI Team @mark
                  last edited by

                  @mark ,

                  Thank you for running the tests!

                  Regarding installing resistors without knowing what the function is - not recommended 🙂 . I will look into what this resistor is. Are you saying that after installing this resistor, the issue is not reproducible?

                  I was going to ask you to do one more test, if you can reproduce the issue. If the issue is indeed at the very low level (the same image is returned for both cameras into voxl-camera-server), then both instances of Auto Exposure algorithm would react to one camera's image changing. So the test would be..

                  • reproduce the issue to get the same image appear in both camera streams, it seems like tracking_front is the one that is being duplicated
                  • note the exposure and gain values, reported in the stats below the images
                  • quickly cover up the front camera (without affecting down-facing camera) and see if the expsure / gain of tracking_down also changes at all.
                    • please note that if the image is indeed duplicated at a very low level, the Auto Exposure algorithm's output for the tracking_down will not actually affect the image (since the stream is from tracking_front), but you should still see some changes while AE is converging after a sudden change. If there is no duplication of the image at the camera server, the AE behavior will not change for tracking_down camera when you cover up tracking_front. I hope that makes sense.

                  Basically i am trying to figure out if this is a camera server issue or somewhere downstream.

                  Alex

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors