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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. Video and Image Sensors
  4. Adding a new camera sensor

Adding a new camera sensor

Scheduled Pinned Locked Moved Video and Image Sensors
9 Posts 3 Posters 2.0k 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.
  • A Offline
    A Offline
    anttukoski
    wrote on last edited by
    #1

    Are there any instructions how to add a new camera sensor to the Starling 2 device? A new camera sensor driver, tunings for it and configuring it for the use of the platform etc.

    I guess this would be a standard Qualcomm driver chi-cdk/oem/qcom/sensor/XXX and tunings done with Chromatix to chi-cdk/oem/qcom/tuning/XXX but what is the build environment to use and how to do the platform configuration?

    Alex KushleyevA 1 Reply Last reply
    0
    • A anttukoski

      Are there any instructions how to add a new camera sensor to the Starling 2 device? A new camera sensor driver, tunings for it and configuring it for the use of the platform etc.

      I guess this would be a standard Qualcomm driver chi-cdk/oem/qcom/sensor/XXX and tunings done with Chromatix to chi-cdk/oem/qcom/tuning/XXX but what is the build environment to use and how to do the platform configuration?

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

      @anttukoski , can you please clarify your question :

      Is your goal to attach an additional already supported ModalAI camera or to connect a 3rd party camera to Starling 2?

      Thank you

      Alex

      A 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @anttukoski , can you please clarify your question :

        Is your goal to attach an additional already supported ModalAI camera or to connect a 3rd party camera to Starling 2?

        Thank you

        Alex

        A Offline
        A Offline
        anttukoski
        wrote on last edited by
        #3

        @Alex-Kushleyev It's a 3rd party camera that is not supported by ModalAI.

        Alex KushleyevA 1 Reply Last reply
        0
        • A anttukoski

          @Alex-Kushleyev It's a 3rd party camera that is not supported by ModalAI.

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

          @anttukoski , the only way, currently, to connect a third party camera to VOXL2 is using a USB interface, probably using the standard linux UVC driver (voxl-uvc-server would support this)

          In order have access to the sources and tools to build the sensormodule camera drivers and tuning files, you would need a partner license from Qualcomm, since this is their terms.

          Besides software integration, there is also hardware aspect to supporting the camera, making sure all the connections are properly routed to VOXL2.

          Is there a specific camera that you have in mind (and a specific camera module)?

          Alex

          A 1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @anttukoski , the only way, currently, to connect a third party camera to VOXL2 is using a USB interface, probably using the standard linux UVC driver (voxl-uvc-server would support this)

            In order have access to the sources and tools to build the sensormodule camera drivers and tuning files, you would need a partner license from Qualcomm, since this is their terms.

            Besides software integration, there is also hardware aspect to supporting the camera, making sure all the connections are properly routed to VOXL2.

            Is there a specific camera that you have in mind (and a specific camera module)?

            Alex

            A Offline
            A Offline
            anttukoski
            wrote on last edited by anttukoski
            #5

            @Alex-Kushleyev I have access to Qualcomm tools and code (for example the chi-cdk code repository) and need to add a MIPI camera. I already got the HW, just replacing the imx678 with some other Sony camera modules. I'm also familiar with how to do the camera driver and tuning for Qualcomm platforms.

            I'm just looking for the build environment for this platform to compile those drivers and if any platform configuration is needed.

            Alex KushleyevA 1 Reply Last reply
            0
            • A anttukoski

              @Alex-Kushleyev I have access to Qualcomm tools and code (for example the chi-cdk code repository) and need to add a MIPI camera. I already got the HW, just replacing the imx678 with some other Sony camera modules. I'm also familiar with how to do the camera driver and tuning for Qualcomm platforms.

              I'm just looking for the build environment for this platform to compile those drivers and if any platform configuration is needed.

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

              Hi @anttukoski ,

              The chi-cdk repository that you already have should contain the source xml files for the sensormodule and tuning files as well as the tools to build them. Additionally you would need a sensor.so (compiled from a cpp source) file for your new camera, which contains exposure and gain conversion functions for the specific camera. It seems you area already familiar with this.

              VOXL2 uses the Qualcomm's standard format of camera drivers (from ubun1.0 main release), which you are already familiar, so if you build your sensormodule, tuning file and sensor.so, you should be good.

              With this in mind, can you please let me know how we can help you? It seems that you already have everything you need.

              Alex

              A 1 Reply Last reply
              0
              • Alex KushleyevA Alex Kushleyev

                Hi @anttukoski ,

                The chi-cdk repository that you already have should contain the source xml files for the sensormodule and tuning files as well as the tools to build them. Additionally you would need a sensor.so (compiled from a cpp source) file for your new camera, which contains exposure and gain conversion functions for the specific camera. It seems you area already familiar with this.

                VOXL2 uses the Qualcomm's standard format of camera drivers (from ubun1.0 main release), which you are already familiar, so if you build your sensormodule, tuning file and sensor.so, you should be good.

                With this in mind, can you please let me know how we can help you? It seems that you already have everything you need.

                Alex

                A Offline
                A Offline
                anttukoski
                wrote on last edited by
                #7

                @Alex-Kushleyev So what I'm specifically looking is the build environment for the chi-cdk. Those sensor.so files, cameramodule.bin and tuning files are at least partly platform specific and need to be created with correct tools in the correct environment. I can create them in another Qualcomm environment for Android, but they won't work in VOXL2. There are some dependencies to linked binaries, headers, the tools that generate the bin files, HW configuration etc.

                Then those files also need to end up in the correct places on the device and there might be need to adjust some configuration files. I can probably try to copy those from some existing driver, but if you have a guide for that, it would be great too.

                Alex KushleyevA 1 Reply Last reply
                0
                • A anttukoski

                  @Alex-Kushleyev So what I'm specifically looking is the build environment for the chi-cdk. Those sensor.so files, cameramodule.bin and tuning files are at least partly platform specific and need to be created with correct tools in the correct environment. I can create them in another Qualcomm environment for Android, but they won't work in VOXL2. There are some dependencies to linked binaries, headers, the tools that generate the bin files, HW configuration etc.

                  Then those files also need to end up in the correct places on the device and there might be need to adjust some configuration files. I can probably try to copy those from some existing driver, but if you have a guide for that, it would be great too.

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

                  @anttukoski , yes I think you are right. I will work with your team via email to provide what you need. I believe we already have a thread.

                  Alex

                  K 1 Reply Last reply
                  0
                  • Alex KushleyevA Alex Kushleyev

                    @anttukoski , yes I think you are right. I will work with your team via email to provide what you need. I believe we already have a thread.

                    Alex

                    K Offline
                    K Offline
                    kailyGen
                    wrote on last edited by
                    #9

                    One thing that helped me before was comparing the device tree and driver setup against an already supported sensor with similar specs. A tiny mismatch in clocks or I2C config can stop the sensor from initializing properly.

                    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