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:
yair
2025-11-16 06:27:51 +02:00
parent 969d716283
commit 6e1195c94c
3 changed files with 12 additions and 5 deletions

View File

@@ -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)