Minor camera example fix

This commit is contained in:
Oleg Kalachev
2022-11-08 22:43:08 +06:00
parent 8fe34e90e6
commit e65d380b4b

View File

@@ -21,7 +21,7 @@ center_pub = rospy.Publisher('~center', Image, queue_size=1)
def get_color_name(h):
if h < 15: return 'red'
if h < 30: return 'orange'
elif h < 30: return 'orange'
elif h < 60: return 'yellow'
elif h < 90: return 'green'
elif h < 120: return 'cyan'