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

    M0173 with 4 AR0144 Tracking cameras

    Video and Image Sensors
    2
    17
    235
    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.
    • Alex KushleyevA
      Alex Kushleyev ModalAI Team @Alex Kushleyev
      last edited by Alex Kushleyev

      One last detail,

      I will need to check for you whether the M0173 (ID1) and M0188 (ID1 , ID3) have the sync line connected to corresponding coax ports. Worst case scenario you may need to add a 0402 0 ohm resistor (or use unsync'ed AR0144 driver).

      I will get back to you about that. If i dont get back to you before you test, you can just use the unsync'ed driver for the camera with alt slave (instead of combo/fsin, use just ..sensormodule.ar0144_0x20_x.bin -- both variants are present in the zip with drivers for alt address)

      If you use a combo / fsync variant of the AR0144 driver (both set up the camera to expect a sync signal from the host), but the sync line is not coming through to the camera, you will not get any frames (this is how this particular camera does sync, as it starts the exposure).

      Alex

      C 1 Reply Last reply Reply Quote 0
      • C
        cbay @Alex Kushleyev
        last edited by

        @Alex-Kushleyev If I dont need to change the CCI to use 4 tracking camera's with M0188, then I am not going to bother to do so with the M0173, I will just run 3 cameras in the meantime.

        Am I right to believe that M0188 can allow me to run 4-AR0144, 2-Leptons and 1-Boson+?

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

          @cbay , M0188 does NOT support a Boson sensor, which has different power requirements (compared to tracking, hires cameras) and uses different pinout of the same micro coax port type.

          M0195 supports 4 cameras + Boson https://docs.modalai.com/M0195/ , but the Boson takes ID2 (CCI2), meaning you would have to put AR0144 cameras on IDs 0,1,3,6 and IDs 1 and 6 would still have a CCI conflict (CCI1). So you would still need the alt slave address for one AR0144.

          Boson can only be connected to J2 of M0195, as documented.

          Let me check about the dual lepton. It is documented, but i just want to confirm that it works.

          Alex

          C 2 Replies Last reply Reply Quote 0
          • C
            cbay @Alex Kushleyev
            last edited by

            @Alex-Kushleyev Got the three Ar0144s working, though only 2 are giving me Misp norm streams.

            Thanks again for your help

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

              @cbay , what happens with the third misp norm stream? Is it not available? Maybe you did not enable misp for that camera in voxl-camera-server.conf?

              C 1 Reply Last reply Reply Quote 0
              • C
                cbay @Alex Kushleyev
                last edited by

                @Alex-Kushleyev said in M0173 with 4 AR0144 Tracking cameras:

                @cbay , what happens with the third misp norm stream? Is it not available? Maybe you did not enable misp for that camera in voxl-camera-server.conf?

                Before it was the exact same setup in voxl-camera-server, rebooted and it just works now so not sure what was happening

                1 Reply Last reply Reply Quote 0
                • C
                  cbay @Alex Kushleyev
                  last edited by

                  @Alex-Kushleyev said in M0173 with 4 AR0144 Tracking cameras:

                  one

                  Any info about the dual lepton, it does seem to be documented that it works, please let me know if it doesnt.

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

                    Hi @cbay ,

                    I checked with the team - we have not tested using the second lepton plugged into either M0188 or M0195.

                    The voxl-lepton-server is not set up to handle two sensors. It would have to be the same process managing both sensors because the i2c communication to both would happen over the same i2c bus and the i2c switcher would need to control which sensor is actually being communicated with via i2c.

                    We have checked that we can control the i2c switcher, but that's about it. We have not needed to use the second lepton (yet).

                    If you wanted to try it, that would be a risk, but here are the steps:

                    • plug in and test lepton in primary port
                    • unplug the primary lepton and plug it into secondary port
                    • update the voxl-lepton-server to control the i2c switcher to switch the i2c path to second port
                    • test the lepton plugged into second port
                    • *** main task *** update the voxl-lepton-server to manage two lepton sensors, switching the i2c communication path, when it is appropriate
                      • please note that during normal operation, the i2c communication with lepton is not needed, i believe we only use it if we need to reset the sensor

                    Alex

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      cbay @Alex Kushleyev
                      last edited by

                      @Alex-Kushleyev Thanks so much for the information. I will be receiving the boards shortly and will run through those tests.

                      How much work do you think it would take to update voxl-lepton-server

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

                        @cbay , you could actually test two leptons by disabling i2c port for one (or both) of them. Lepton starts up streaming data by default via SPI, so you can get frames from it without any communication.

                        In order to do that, you would need to run two instances of voxl-lepton-server and the second instance would have to be modified to read from a different config file and to not kill the existing voxl-lepton-server process (and probably name itself differently, so that the first server does not kill the second during start-up).

                        If this all works, then in order to actually test two leptons with i2c communication (which we use the set the FFC mode depending on the flight mode and also reset the sensor if it gets into a weird state while streaming), the lepton server functionality would probably need to be added to a C++ class so that multiple instances could be run from the same process. The reason is that there needs to be a single point where the i2c switcher is set to one or the other lepton, right before communicating to one of the leptons (without the other server / thread creating a race condition and trying to do communicate right at the same time)..

                        I'd have to think about the fastest way of doing this, but at least you should be able to test two leptons with second not using i2c with very minimal changes.

                        Here is the source code for the voxl-lepton-server in case you did not already find it: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-lepton-server/-/blob/master/src/

                        Alex

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