diff --git a/server/nightr/strategies/miloStrats.py b/server/nightr/strategies/miloStrats.py index 3d03666..a6aee42 100644 --- a/server/nightr/strategies/miloStrats.py +++ b/server/nightr/strategies/miloStrats.py @@ -12,7 +12,6 @@ def camImgStrat(context : Context) -> Prediction: """ img = context.image average = img.mean() - print(img.mean()) p = Prediction() p.weight = 0.7 if average < 100: diff --git a/server/nightr/util.py b/server/nightr/util.py index ce7d143..6c70643 100644 --- a/server/nightr/util.py +++ b/server/nightr/util.py @@ -9,7 +9,7 @@ import numpy as np @dataclass class Context: - battery: float = 1.0 + battery: int = 100 position: Dict[str, float] = field(default_factory=lambda: {'latitude': 53.0, 'longitude': 9.0}) image: np.ndarray = None