Autonomous_Car / setting_AI.py
ABAO77's picture
Upload 37 files
f113e60 verified
DIRECTION_LEFT = "X"
DIRECTION_RIGHT = "Y"
DIRECTION_STRAIGHT = "S"
PUSH_STOP = "x:000"
THRESHOLD_CLASSIFICATION = 30
# Phần trăm mặt đường sẽ lấy
per_len_lane = 0.9
# Ngưỡng quay bánh lại
back_threshold = 5
# ngưỡng lệch góc thì phải push ngay
threshold_scale = 3
# Ngưỡng thu report
count_control = 25
ROTATION_SPEED = 40
# Các điểm liên quan đến xe (điểm trụ sở, padding từ 2 bên)
car_length_padding = 100
# Setting TensorRT
input_names = ['images']
output_names = ['output']
batch = 1
plan = "models/tusimple_18_FP16.trt"