Set final product physical properties

This commit is contained in:
2026-08-23 09:27:19 +02:00
parent 7add88f154
commit f167f4a2cd
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -10,8 +10,7 @@ class MicrowaveDishAnalyzer:
"""
# Constant scale ratio: Centimeters per Pixel.
# TODO : Replace this value once your camera calibration is complete.
CM_PER_PIXEL: float = 0.05 # Example: 1 pixel = 0.05 cm
CM_PER_PIXEL: float = 0.002592593
def __init__(self, cm_per_pixel: Optional[float] = None):
if cm_per_pixel is not None:
+2 -2
View File
@@ -23,8 +23,8 @@ CLOUD_MQTT_QOS = 2
MQTT_HELLO_INTERVAL = 30
# Microwave Model
COOKING_COMPARTMENT_HEIGHT = 30 # cm
BUZZER_ACTIVATED = False
COOKING_COMPARTMENT_HEIGHT = 20.5 # cm
BUZZER_ACTIVATED = True
MAX_ALLOWED_TEMPERATURE_TECHNICAL_COMPARTMENT = 70
MAX_ALLOWED_TEMPERATURE_COOKING_COMPARTMENT = 200