|
@@ -272,6 +272,9 @@ class MainWindow(QMainWindow):
|
|
|
|
|
|
def asyncExecute(self, tasks):
|
|
|
results = [feature.result() for feature in concurrent.futures.as_completed(tasks)]
|
|
|
+ print("==========================\n")
|
|
|
+ print(results)
|
|
|
+ print("==========================\n")
|
|
|
ret = True
|
|
|
for result in results:
|
|
|
ret = ret and result
|
|
@@ -346,8 +349,7 @@ class MainWindow(QMainWindow):
|
|
|
cur_pose2 = control2.robot_.timedRobotStatu_.statu
|
|
|
[label, pt] = self.mapManager.findNeastNode(backMap, [cur_pose2.x, cur_pose2.y])
|
|
|
control2.robot_.GeneratePath(label, entrance_id, backMap)
|
|
|
-
|
|
|
- # print("Child: begin:%s target:%s wheelBase:%f" % (label, entrance_id, wheel_base))
|
|
|
+ print("Child: begin:%s target:%s wheelBase:%f" % (label, entrance_id, wheel_base))
|
|
|
|
|
|
autoDirect = True
|
|
|
|
|
@@ -376,6 +378,7 @@ class MainWindow(QMainWindow):
|
|
|
|
|
|
controlMain.robot_.Navigatting(entrance_id, target_id, autoDirect, wheel_base)
|
|
|
|
|
|
+ print("-------------------------")
|
|
|
# 整车松夹池------------------------------------
|
|
|
threadPool = ThreadPoolExecutor(1)
|
|
|
threadPool.submit(controlMain.robot_.ClampOpen)
|