aruco_pose: Accept rgb8 map images

This commit is contained in:
Alexey Rogachevskiy
2019-09-11 21:07:40 +03:00
parent 22e1bd6b92
commit 239eaf715d

View File

@@ -140,7 +140,7 @@ def test_map_image(node):
img = rospy.wait_for_message('aruco_map/image', Image, timeout=5)
assert img.width == 2000
assert img.height == 2000
assert img.encoding == 'mono8'
assert (img.encoding == 'mono8') or (img.encoding == 'rgb8')
def test_map_markers(node):
markers = rospy.wait_for_message('aruco_map/markers', MarkerArray, timeout=5)