refine: improve exposure control precision and validation
- Lower minimum exposure from 1.0ms to 0.015ms in launch-ids.py validation - Add exposure range validation (0.015-30000ms) to camera_control.py - Update help text to display exposure range for better user guidance - Adjust camera config: swap binning/subsampling values in nightcolor preset - Add comment explaining subsampling vs binning behavior Enhances exposure control granularity and provides clearer validation feedback while optimizing camera configuration for low-light scenarios.
This commit is contained in:
@@ -237,7 +237,7 @@ class ControlServer:
|
||||
|
||||
try:
|
||||
value = float(parts[1])
|
||||
if value < 1.0 or value > 30000:
|
||||
if value < 0.015 or value > 30000:
|
||||
return "ERROR OUT_OF_RANGE: Exposure must be 0.015-30000 milliseconds"
|
||||
|
||||
self.src.set_property("exposure", value)
|
||||
|
||||
Reference in New Issue
Block a user