node-uvc-control
node-uvc-control copied to clipboard
Example : dwExposureTimeAbsolute is not working
https://github.com/makenai/node-uvc-control/blob/master/lib/controls.js#L92
Because the Type of EXPOSURE_TIME_ABSOLUTE_CONTROL(CT_EXPOSURE_TIME_ABSOLUTE_CONTROL = 0x04 ) is PU for some reason, if you try to change CT_EXPOSURE_TIME_ABSOLUTE_CONTROL, the gain of PU (PU_GAIN_CONTROL = 0x04) will be changed.
AS-IS: Gain of PU is changed. TO-BE: Exposure_Time_Absolute is changed.
I can confirm that it should be CT, by looking at 4.2.2.1.4 Exposure Time (Absolute) Control (page 83 or 98) in UVC 1.5 Class specification.pdf.
See also Table A- 12 Camera Terminal Control Selectors (page 159 or 174).
- https://www.usb.org/documents?search=uvc
See #64.