Merge branch 'miheev-dev' of https://github.com/IliaMiheev/probody into gerasimova-dev

This commit is contained in:
alisagerasimova
2026-03-07 21:36:01 +03:00
10 changed files with 144 additions and 58 deletions
+4 -6
View File
@@ -39,9 +39,7 @@ def color_detection(data, print_type='str'):
else:
color = None
#в MAIN для вызова функции должно быть:
#color_sub = rospy.Subscriber('main_camera/image_raw', Image,
#lambda img: color_detection(img, print_type='rgb'),
#queue_size=1)
#rospy.sleep(2)
#color_sub.unregister()
<<separator>>
color_sub = rospy.Subscriber('main_camera/image_raw', Image, lambda img: color_detection(img, print_type='rgb'), queue_size=1)
rospy.sleep(2)
color_sub.unregister()