增加reconfig方法

This commit is contained in:
2023-09-13 20:29:09 +08:00
parent afde7a853e
commit 800057e000
5 changed files with 368 additions and 12 deletions

View File

@ -19,7 +19,7 @@ from tqdm import tqdm
max_machine_index = 3
# 时间参数
T_pp, T_tr, T_nc = 2, 5, 25
T_pp, T_tr, T_nc, T_pl = 2, 5, 25, 0
# 机器参数
max_head_index, max_slot_index = 6, 120
@ -56,6 +56,7 @@ t_nozzle_put, t_nozzle_pick = 0.9, 0.75 # 装卸吸嘴用时
t_nozzle_change = t_nozzle_put + t_nozzle_pick
t_fix_camera_check = 0.12 # 固定相机检测时间
def axis_moving_time(distance, axis=0):
distance = abs(distance) * 1e-3
Lamax = x_max_velocity ** 2 / x_max_acceleration if axis == 0 else y_max_velocity ** 2 / y_max_acceleration