mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
update mycobot_topics.py
This commit is contained in:
parent
8f8cef31d0
commit
dfcdf8b9a2
1 changed files with 0 additions and 2 deletions
|
|
@ -247,9 +247,7 @@ class MycobotTopics(object):
|
|||
"""Subscribe to end type Status"""
|
||||
"""订阅末端类型状态"""
|
||||
def callback(data):
|
||||
print('data:', data)
|
||||
if data.Status==1:
|
||||
print('444444444444444444444444444444444444444444444444444')
|
||||
self.mc.set_end_type(1)
|
||||
else:
|
||||
self.mc.set_end_type(0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue