Skip to content
Snippets Groups Projects
Commit 33669120 authored by Ken Tossell's avatar Ken Tossell
Browse files

Changed defaults: auto_exposure=True, auto_focus=aperture_priority

parent f3976069
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ auto_exposure_modes = gen.enum([gen.const("Manual", int_t, 0, "Manual exposure, ...@@ -82,7 +82,7 @@ auto_exposure_modes = gen.enum([gen.const("Manual", int_t, 0, "Manual exposure,
gen.add("auto_exposure", int_t, RECONFIGURE_RUNNING, gen.add("auto_exposure", int_t, RECONFIGURE_RUNNING,
"Auto exposure mode.", "Auto exposure mode.",
1, 0, 3, edit_method = auto_exposure_modes) 3, 0, 3, edit_method = auto_exposure_modes)
gen.add("auto_exposure_priority", int_t, RECONFIGURE_RUNNING, gen.add("auto_exposure_priority", int_t, RECONFIGURE_RUNNING,
"In auto mode or shutter priority mode, allow the device to vary frame rate.", "In auto mode or shutter priority mode, allow the device to vary frame rate.",
...@@ -99,7 +99,7 @@ gen.add("iris_absolute", double_t, RECONFIGURE_RUNNING, ...@@ -99,7 +99,7 @@ gen.add("iris_absolute", double_t, RECONFIGURE_RUNNING,
# TODO: relative iris # TODO: relative iris
gen.add("auto_focus", bool_t, RECONFIGURE_RUNNING, gen.add("auto_focus", bool_t, RECONFIGURE_RUNNING,
"Maintain focus automatically.", False) "Maintain focus automatically.", True)
gen.add("focus_absolute", int_t, RECONFIGURE_RUNNING, gen.add("focus_absolute", int_t, RECONFIGURE_RUNNING,
"Absolute focal distance, millimeters.", 0, 0, 65536) "Absolute focal distance, millimeters.", 0, 0, 65536)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment