Explorar o código

camera_configs

rambo hai 3 meses
pai
achega
6ac57aadad
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      python/mcu/capture/smart_shooter_class.py
  2. 1 1
      python/sys_configs.json

+ 1 - 1
python/mcu/capture/smart_shooter_class.py

@@ -291,7 +291,7 @@ class SmartShooter(metaclass=SingletonType):
             camera_configs = settings.getSysConfigs(
             camera_configs = settings.getSysConfigs(
                 "camera_configs",
                 "camera_configs",
                 "iso_config",
                 "iso_config",
-                {"low": 100, "high": 6400, "mode": "auto"},
+                {"low": 100, "high": 6400, "mode": "un_auto"},
             )
             )
             low_iso = camera_configs.get("low", 100)
             low_iso = camera_configs.get("low", 100)
             high_iso = camera_configs.get("high", 6400)
             high_iso = camera_configs.get("high", 6400)

+ 1 - 1
python/sys_configs.json

@@ -21,6 +21,6 @@
     },
     },
     {
     {
         "key": "camera_configs",
         "key": "camera_configs",
-        "value": "{\"iso_config\":{\"low\":100,\"high\":6400,\"mode\":\"auto\"}}"
+        "value": "{\"iso_config\":{\"low\":100,\"high\":6400,\"mode\":\"un_auto\"}}"
     }
     }
 ]
 ]