Skip to content

Commit

Permalink
update mycobot_topics.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wangWking committed Sep 24, 2024
1 parent 8f8cef3 commit dfcdf8b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mycobot_communication/scripts/mycobot_topics.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,7 @@ def sub_end_type_status(self):
"""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)
Expand Down

0 comments on commit dfcdf8b

Please sign in to comment.