mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
Merge branch 'noetic' of github.com:elephantrobotics/mycobot_ros into myhand_force_gripper
This commit is contained in:
commit
31e01bbd23
5 changed files with 9 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue