diff --git a/Controller/driver/motors/dmbots/motor.py b/Controller/driver/motors/dmbots/motor.py index fffb8887f76c781d59254851110ae379983700d6..c343a2f499443259a4c66d17231c34dfea411f8b 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)