import socket

# Bonjour Config
SERVER_PORT = 5000
SERVER_HOST = socket.gethostname()
SERVER_IP = [socket.gethostbyname(SERVER_HOST)]
SERVER_TYPE = '_rccar._udp.'
SERVER_DOMAIN = 'local.'

# Brushless Motor
MOTOR_BRUSHLESS_PIN = 12
MOTOR_BRUSHLESS_FREQUENCY = 400
MOTOR_BRUSHLESS_MIDDLE_POSITION = 55
MOTOR_BRUSHLESS_INTERVAL_POSITION = 15
MOTOR_BRUSHLESS_GEAR = 3

# Servo Motor
MOTOR_SERVO_PIN = 7
MOTOR_SERVO_FREQUENCY = 50
MOTOR_SERVO_INTERVAL = 0.25
MOTOR_SERVO_SCALE_MIN = 5.5
MOTOR_SERVO_SCALE_MIDDLE = 6.5
MOTOR_SERVO_SCALE_MAX = 7.5
