Voxl 2 Hires camera settings
-
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 thingsThank you in advance
-
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 thingsThank you in advance
Currently, you cannot set a fixed exposure and gain from
voxl-camera-server.conffile. 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 100The
name-of-output-streamshould 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
-
Currently, you cannot set a fixed exposure and gain from
voxl-camera-server.conffile. 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 100The
name-of-output-streamshould 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
I tried
voxl-send-command hires_small_color set_exp_gain 5.0 200i 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"
-
I tried
voxl-send-command hires_small_color set_exp_gain 5.0 200i 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"
@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”.
-
@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”.
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