Set final product physical properties
This commit is contained in:
@@ -10,8 +10,7 @@ class MicrowaveDishAnalyzer:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
# Constant scale ratio: Centimeters per Pixel.
|
# Constant scale ratio: Centimeters per Pixel.
|
||||||
# TODO : Replace this value once your camera calibration is complete.
|
CM_PER_PIXEL: float = 0.002592593
|
||||||
CM_PER_PIXEL: float = 0.05 # Example: 1 pixel = 0.05 cm
|
|
||||||
|
|
||||||
def __init__(self, cm_per_pixel: Optional[float] = None):
|
def __init__(self, cm_per_pixel: Optional[float] = None):
|
||||||
if cm_per_pixel is not None:
|
if cm_per_pixel is not None:
|
||||||
|
|||||||
+2
-2
@@ -23,8 +23,8 @@ CLOUD_MQTT_QOS = 2
|
|||||||
MQTT_HELLO_INTERVAL = 30
|
MQTT_HELLO_INTERVAL = 30
|
||||||
|
|
||||||
# Microwave Model
|
# Microwave Model
|
||||||
COOKING_COMPARTMENT_HEIGHT = 30 # cm
|
COOKING_COMPARTMENT_HEIGHT = 20.5 # cm
|
||||||
BUZZER_ACTIVATED = False
|
BUZZER_ACTIVATED = True
|
||||||
MAX_ALLOWED_TEMPERATURE_TECHNICAL_COMPARTMENT = 70
|
MAX_ALLOWED_TEMPERATURE_TECHNICAL_COMPARTMENT = 70
|
||||||
MAX_ALLOWED_TEMPERATURE_COOKING_COMPARTMENT = 200
|
MAX_ALLOWED_TEMPERATURE_COOKING_COMPARTMENT = 200
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user