kuukar-rpi/kuukar_config.py

30 lines
482 B
Python

SERIAL_DRIVER_BOARD = "/dev/serial/by-id/..."
SONAR_1_TRIG_PIN = 0
SONAR_1_ECHO_PIN = 1
SONAR_2_TRIG_PIN = 2
SONAR_2_ECHO_PIN = 3
SONAR_3_TRIG_PIN = 4
SONAR_3_ECHO_PIN = 5
MOTOR_FL_F = 6
MOTOR_FL_R = 7
MOTOR_FR_F = 8
MOTOR_FR_R = 9
MOTOR_RL_F = 10
MOTOR_RL_R = 11
MOTOR_RR_F = 12
MOTOR_RR_R = 13
# Full Speed 90 Degress Turn Time
TURN_TIME_FS_90DEG_MS = 1500
SERIAL_AUX_BOARD = "/dev/serial/by-id/..."
COLLISION_DETECTOR_PIN = 2
LEDS_DATA_PIN = 3
LEDS_NUM = 15
DHT22_PIN = 5