From 5832b56542d642f71d3dd2cb69d73b0836225040 Mon Sep 17 00:00:00 2001 From: DzC-0i <11778119+DzC-0i@user.noreply.gitee.com> Date: Tue, 17 Dec 2024 12:08:32 +0800 Subject: [PATCH] =?UTF-8?q?modify=20v1.0.11=20movej=E5=AE=9E=E6=9C=BA?= =?UTF-8?q?=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Controller/driver/motors/dmbots/motor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Controller/driver/motors/dmbots/motor.py b/Controller/driver/motors/dmbots/motor.py index fffb888..c343a2f 100644 --- a/Controller/driver/motors/dmbots/motor.py +++ b/Controller/driver/motors/dmbots/motor.py @@ -5,6 +5,7 @@ import os import time import math import numpy +from queue import Queue # Location from Controller.driver.trajectory.trajectory import Trajectory @@ -546,6 +547,7 @@ class Sync(threading.Thread): :return: """ + self.__op_mode = MOTION_CSP self.__point_initial = initial_position self.__point_queue.queue.clear() self.__point_count = count - 1 @@ -611,6 +613,7 @@ class Sync(threading.Thread): :return: """ + self.__pvt_start = False self.__point_queue.queue.clear() self.__point_queue.put(None) -- Gitee