MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / setColorSemiAutoExposure

Method setColorSemiAutoExposure

src/libfreenect2.cpp:765–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765void Freenect2DeviceImpl::setColorSemiAutoExposure(float pseudo_exposure_time_ms)
766{
767 CommandTransaction::Result result;
768 command_tx_.execute(ColorSettingCommand(COLOR_SETTING_SET_ACS, 0u), result);
769 command_tx_.execute(ColorSettingCommand(COLOR_SETTING_SET_EXPOSURE_MODE, 3u), result); // 3 == Semi-auto
770 command_tx_.execute(ColorSettingCommand(COLOR_SETTING_SET_EXPOSURE_TIME_MS, pseudo_exposure_time_ms), result);
771}
772
773void Freenect2DeviceImpl::setColorManualExposure(float integration_time_ms, float analog_gain)
774{

Callers

nothing calls this directly

Calls 2

ColorSettingCommandClass · 0.85
executeMethod · 0.45

Tested by

no test coverage detected