Merge branch 'noetic' of github.com:elephantrobotics/mycobot_ros into myhand_force_gripper

This commit is contained in:
wangWking 2024-11-27 15:41:16 +08:00
commit 31e01bbd23
5 changed files with 9 additions and 5 deletions

View file

@ -35,7 +35,8 @@ def listener():
mc = ElephantRobot(ip, int(port))
# START CLIENT,启动客户端
res = mc.start_client()
if res != "":
if not res:
print('res:', res)
sys.exit(1)
mc.set_speed(90)

View file

@ -37,7 +37,8 @@ def listener():
mc = ElephantRobot(ip, int(port))
# START CLIENT,启动客户端
res = mc.start_client()
if res != "":
if not res:
print('res:', res)
sys.exit(1)
mc.set_speed(90)

View file

@ -35,7 +35,8 @@ def listener():
mc = ElephantRobot(ip, int(port))
# START CLIENT,启动客户端
res = mc.start_client()
if res != "":
if not res:
print('res:', res)
sys.exit(1)
mc.set_speed(90)

View file

@ -5,7 +5,7 @@ from pymycobot.elephantrobot import ElephantRobot
mc = ElephantRobot('192.168.1.159', 5001, debug=True)
res = mc.start_client()
if res != "":
if not res :
print('quit')
sys.exit(1)

View file

@ -37,7 +37,8 @@ def listener():
mc = ElephantRobot(ip, int(port))
# START CLIENT,启动客户端
res = mc.start_client()
if res != "":
if not res:
print('res:', res)
sys.exit(1)
mc.set_speed(90)