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

    VOXL 2 M0135 Dual Camera Connections with M0107 and M0149 Cameras

    Ask your questions right here!
    3
    30
    1771
    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.
    • WineVirusW
      WineVirus @Alex Kushleyev
      last edited by

      @Alex-Kushleyev Ran through the troubleshooting steps (swapping both connections), still only getting one camera (same ID, just on the other slot). I think I'll just replace the cable.

      Can I work on the setup on only one sensor, with a simple way to add another one? Or will I have to redo the whole setup when I have both?

      voxl2-mini:/$ voxl-camera-server -l
      existing instance of voxl-camera-server found, attempting to stop it
      DEBUG:   Attempting to open the hal module
      DEBUG:   SUCCESS: Camera module opened on attempt 0
      DEBUG:   ----------- Number of cameras: 1
      
      DEBUG:   Cam idx: 0, Cam slot: 3, Slave Address: 0x0030, Sensor Id: 0x0356
      DEBUG:   Note: This list comes from the HAL module and may not be indicative
      DEBUG:          of configurations that have full pipelines
      
      DEBUG:   Number of cameras: 1
      
      VinnyV 1 Reply Last reply Reply Quote 0
      • VinnyV
        Vinny ModalAI Team @WineVirus
        last edited by Vinny

        Hi @WineVirus
        I think you are also using M0135 wrong.
        You can only use 1 of them on each J6 or J7, they cannot be cascaded.
        The way I see this here is not the correct usage:
        dfc1df9a-4e0d-4cd5-b5ef-0bdda810512b-image.png
        So the hires camera will never work like this.
        The one camera you do see is the tracking cam... this one:
        94deff10-3f1d-44cd-bc54-c14c1d1f5aad-image.png
        You must connect the module into M0135 directly only when plugged into the Voxl 2 Mini.
        It is not designed to use the extension flex to mate to another image sensor via M0135.
        In summary, remove this second M0135 and the M0036 extension flex:
        3347e9d8-6d9e-4071-960f-15feba9d5b92-image.png And plug the M0149 directly into M0135 here to mimic what Alex has demonstrated:
        80feee73-fcaa-47fd-80ad-77b3c12fe560-image.png
        Hope this helps.

        If I am mistaken, please let us know but this is what I gather from your photos.

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

          @Vinny , i was able to use both cameras in this configuration (see above in this thread).

          It seems the imx412 camera is not detected, potentially bad extension flex cable or (less likely) bad camera. Has this hires camera worked before at some point?

          VinnyV 1 Reply Last reply Reply Quote 0
          • VinnyV
            Vinny ModalAI Team @Alex Kushleyev
            last edited by

            @Alex-Kushleyev OK, I am just making sure the M0135 is not used in a cascaded mode (a M0135 plugged into another M0135). That is what the first pictures look like to me since the M0135 is just sitting open on a bench.

            As far as the image sensor, all modules are tested at ModalAI HQ before shipping in a known good working configuration of hardware (i.e.: a golden setup). So, yes, all image sensors are working when shipped. Same for the extension flexes. Every one is tested before shipping.

            I do see a bend in the flex right here, so hopefully that is not a firm crease since creases will damage flexes: e3cd096d-78c1-4934-b59b-169d66df18bf-image.png
            Hope this helps!

            WineVirusW 1 Reply Last reply Reply Quote 0
            • WineVirusW
              WineVirus @Vinny
              last edited by

              @Vinny I think you may be mistaken... One end of the M0036 is connected to the M0135, and the other end is connected to the M0107 Camera (that's inside the purple case). We're only using one M0135.

              I'm receiving a new M0036 cable tomorrow. I'll test that.

              VinnyV 1 Reply Last reply Reply Quote 0
              • VinnyV
                Vinny ModalAI Team @WineVirus
                last edited by

                @WineVirus Thanks for confirming!
                Just trying to help and that picture struck me as odd.

                Glad you have it covered with Alex, he'll guide you correctly!!!

                1 Reply Last reply Reply Quote 0
                • WineVirusW
                  WineVirus @Alex Kushleyev
                  last edited by WineVirus

                  @Alex-Kushleyev I'm trying to run voxl-camera-server and I'm getting error messages for both cameras; The hires camera makes sense, but I'm not sure about the tracking cam...

                  I've swapped the M0149 back to the JL port where it was originally. Also, I personally haven't gotten the hires camera working, but I agree that it's more likely the cable.

                  Starting Camera: tracking
                  Using gain limits min: 54 max: 863
                  ERROR:   Camera 0 failed to find supported preview config: 640x480
                  ERROR:   Failed to start camera: tracking
                  Starting Camera: hires
                  ERROR:   failed to call HAL3 get_camera_info for cam 1
                  ERROR:   Failed to start camera: hires
                  
                  ------ voxl-camera-server: Camera server is now running 
                  

                  I'm not getting any output. Also, voxl-inspect-services lists voxl-camera-server | Enabled | Not Running | (I'm assuming it's because it has no cameras to run). Voxl Portal and voxl-inspect-cam show no camera streams.

                  image_2024-04-09_150047903.png

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

                    @WineVirus , i would suggest retracing the steps you took to get the tracking camera to work (from the beginning, after i posted the directions and pictures).

                    Once you get the tracking camera working, you can try to test the flex by connecting the tracking camera using the flex cable (please wat ch carefully the pin1 orientations). If the flex cable works for tracking camera, it is possible that imx412 has an issue.

                    I will be back in office tomorrow and can provide more guidance for testing.

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

                      Actually, i believe in your test, the tracking camera was detected, but you requested unsupported resolution of 640x480. AR0144 only supports raw resolution of 1280x800.

                      You can see that the error for tracking camera is ERROR: Camera 0 failed to find supported preview config: 640x480 as opposed to hires camera ERROR: failed to call HAL3 get_camera_info for cam 1

                      So, you should check your voxl-camera-server.conf to make sure that the preview resolution is set to 1280x800 for the AR0144 tracking camera, then it should work.

                      After that, in order to check if the Flex cable is OK, you can insert the flex cable into the connection between M0135 and AR0144 camera, double check the pin1 orientations.

                      WineVirusW 1 Reply Last reply Reply Quote 0
                      • WineVirusW
                        WineVirus @Alex Kushleyev
                        last edited by WineVirus

                        @Alex-Kushleyev I changed the resolution to be correct, and we finally have feed! Live output in voxl portal and voxl-inspect-cam.

                        I've confirmed that M0036 cable is bad, the tracking camera isn't able to connect when routed through the cable.

                        However, we have a major issue with the feed we are receiving. We think it's a combination of bad focus + a possibly scratched lens... maybe you can help us diagnose. This the tracking output in Voxl Portal using the 9x6 checkerboard. We're using other forum threads to try and test out focus but I'd love to hear your preliminary thoughts.

                        tracking_1712786726.png

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

                          @WineVirus ,

                          Yes it appears the the camera lens is scratched but separately from that, it is out of focus because the image is blurry and you can actually see the scratch on the lens (if camera was focused properly, you would not see the scratch, maybe some blurriness instead). Was the lens turned from its original focus position or is it damaged such that lens holder is separated from the back of the camera?

                          Regarding the flex, if you believe that it came in non-working condition, please submit an RMA for a replacement. Just to be 100% sure, i will run a test with AR0144 and extension flex and send you results tonight or tomorrow (with picture of connection)

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

                            I tested AR0144 with M0036 flex in the configuration shown in picture below and it works. I also have the IMX412 camera attached with its own flex. The dual flex configuration is not ideal for plugging into M0135 due to flexes pointing towards each other after being connected to M0135, but for testing purposes it is OK.

                            If you have AR0144 camera connected in the same way with the flex cable and the camera is not detected, then it seems like the flex cable is the issue.

                            IMG_3942.jpg

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