This commit is contained in:
2025-11-21 14:55:52 +08:00
parent e3ecd0550f
commit 26ed8df502
36 changed files with 908 additions and 433 deletions

View File

@ -10,7 +10,9 @@ class Settings:
self.relay_host = '192.168.250.62'
self.relay_port = 50000
self.debug_feeding=True
self.debug_feeding=False
#调试模式上,网络继点器和摄像头禁用,模型推理禁用
self.debug_mode=False
# 摄像头配置
self.camera_type = "ip"
@ -46,7 +48,7 @@ class Settings:
self.single_batch_weight = 2500 # 单次下料重量(kg)
# 角度控制参数
self.target_angle = 20.0 # 目标角度
self.target_angle = 30.0 # 目标角度
self.min_angle = 10.0 # 最小角度
self.max_angle = 80.0 # 最大角度
self.angle_threshold = 60.0 # 角度阈值
@ -83,5 +85,9 @@ class Settings:
self.max_upper_volume = 2.4 # 上料斗容量(方)
#下料到下料斗最大下到多少,并非最大容量
self.max_lower_volume = 2.4 # 下料斗容量(方)
#led
self.led_interval = 2 # LED闪烁间隔(秒)
app_set_config = Settings()