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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. Voxl 2 Hires camera settings

Voxl 2 Hires camera settings

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

    Hi,
    I'm working with an IMX412 on voxl 2, is there a way to manually set camera parameters like exposure time and gain? in my application I use an onboard light and the drone will always fly indoor in the same conditions, so I prefer to work with fixed parameters instead of letting the auto exposure do its things

    Thank you in advance

    Alex KushleyevA 1 Reply Last reply
    0
    • R robertociuch

      Hi,
      I'm working with an IMX412 on voxl 2, is there a way to manually set camera parameters like exposure time and gain? in my application I use an onboard light and the drone will always fly indoor in the same conditions, so I prefer to work with fixed parameters instead of letting the auto exposure do its things

      Thank you in advance

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

      @robertociuch,

      Currently, you cannot set a fixed exposure and gain from voxl-camera-server.conf file. However, after camera server starts, you can send the following command to set the fixed exposure and gain:

      voxl-send-command <name-of-output-stream> set_exp_gain <exposure_ms_float> <gain_int>
      

      for example

      voxl-send-command tracking set_exp_gain 20.0 100
      

      The name-of-output-stream should match the pipe/stream name that you are using. Since there can be multiple streams for the same camera, you can use any stream to set this param.

      We will add the ability to set constant exposure / gain to camera server in the future release.

      Alex

      R 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @robertociuch,

        Currently, you cannot set a fixed exposure and gain from voxl-camera-server.conf file. However, after camera server starts, you can send the following command to set the fixed exposure and gain:

        voxl-send-command <name-of-output-stream> set_exp_gain <exposure_ms_float> <gain_int>
        

        for example

        voxl-send-command tracking set_exp_gain 20.0 100
        

        The name-of-output-stream should match the pipe/stream name that you are using. Since there can be multiple streams for the same camera, you can use any stream to set this param.

        We will add the ability to set constant exposure / gain to camera server in the future release.

        Alex

        R Offline
        R Offline
        robertociuch
        Contributor
        wrote on last edited by
        #3

        @Alex-Kushleyev

        I tried
        voxl-send-command hires_small_color set_exp_gain 5.0 200

        i receive the message "Successfully sent command to /run/mpa/hires_small_color/control" but I don't see any difference, in the voxl portal it continues to say "exposure: 26.916ms, gain: 800"

        Alex KushleyevA 1 Reply Last reply
        0
        • R robertociuch

          @Alex-Kushleyev

          I tried
          voxl-send-command hires_small_color set_exp_gain 5.0 200

          i receive the message "Successfully sent command to /run/mpa/hires_small_color/control" but I don't see any difference, in the voxl portal it continues to say "exposure: 26.916ms, gain: 800"

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

          @robertociuch , can you please check if voxl-camera-server prints any error messages when you do that?

          Also, please make sure your auto exposure mode for that camera (ae_mode) is not set to “isp”, you can set it to “off”.

          R 1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @robertociuch , can you please check if voxl-camera-server prints any error messages when you do that?

            Also, please make sure your auto exposure mode for that camera (ae_mode) is not set to “isp”, you can set it to “off”.

            R Offline
            R Offline
            robertociuch
            Contributor
            wrote on last edited by
            #5

            @Alex-Kushleyev

            I set the "ae_mode" to "off" and it works!

            thank you

            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