This commit is contained in:
weijian 2023-06-12 15:33:13 +08:00
parent c3e692804b
commit 0fe95c531e
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ def talker():
"""
)
exit(1)
mycobot.release_all_servos()
mycobot.release_all_servos(0)
time.sleep(0.1)
print("Rlease all servos over.\n")

View file

@ -4,7 +4,7 @@ try:
import tkinter as tk
except ImportError:
import Tkinter as tk
from mycobot_communication.srv import GetCoords, SetCoords, GetAngles, SetAngles, GripperStatus
from myarm_communication.srv import GetCoords, SetCoords, GetAngles, SetAngles, GripperStatus
import rospy
import time
from rospy import ServiceException