You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
class Config:
|
|
# ===== Камера =====
|
|
CAMERA_ID = 0
|
|
MIRROR_CAMERA = True
|
|
|
|
# ===== Управление руками (скорости) =====
|
|
ARM_CONTROL = {
|
|
'linear_arm': 'right',
|
|
'angular_arm': 'left',
|
|
'max_speed_linear': 1.0,
|
|
'max_speed_angular': 1.0,
|
|
'dead_zone': 0.2,
|
|
'debug': False
|
|
# минимальное относительное смещение для отклика
|
|
}
|
|
|
|
# ===== Специальные жесты =====
|
|
SPECIAL_GESTURE_MODE = 'ml' #ml #geometric
|
|
ML_GESTURE_MODEL = '/home/ubuntu/sirius/models/rf/special_model.pkl'
|
|
ML_GESTURE_CLASSES = ['dome', 'cross', 'none']
|
|
|
|
# ===== Робот =====
|
|
ROBOT_MODE = 'simulator'
|
|
ROBOT_IMAGE_PATH = 'robot.png' # или None
|
|
|
|
# ===== Симулятор карты =====
|
|
MAP_WIDTH = 800
|
|
MAP_HEIGHT = 600
|
|
MAP_OBSTACLES = [
|
|
(200, 150, 100, 200),
|
|
(500, 300, 150, 50),
|
|
]
|
|
START_POS = (100, 100)
|
|
FINISH_POS = (700, 500)
|
|
ROBOT_RADIUS = 20
|