i3drobotics / i3dr_deimos-ros

ROS driver for the I3DR Deimos stereo camera
http://i3drobotics.com/deimos.html
2 stars 2 forks source link

Exposure control #10

Open martimorta-at-work opened 5 years ago

martimorta-at-work commented 5 years ago

Hi, it would be great if the auto exposure and exposure control (through dynamic reconfigure ideally) was available. Thanks!

martimorta-at-work commented 5 years ago

From the UVC camera, there are the options, my suggestion is adding these in dynamic reconfigure as an enum.

uvc_cam.h:65

    V4L2_UVC_EXPOSURE_MANUAL = 1,
    V4L2_UVC_EXPOSURE_AUTO = 2,
    V4L2_UVC_EXPOSURE_SHUTTER_PRIORITY = 4,
    V4L2_UVC_EXPOSURE_APERTURE_PRIORITY = 8
jveitchmichaelis commented 5 years ago

Yep this is sensible. Although there is no priority selection, the camera is fixed aperture, so it's auto on/off and exposure time.

martimorta-at-work commented 5 years ago

It would be more to understand what exposure means, If @bknight-i3drobotics takes this into account for the new generic driver that would be enough, just to take it into account! Cheers