aruco_pose: Allow rgb8 map images

This commit is contained in:
Alexey Rogachevskiy
2019-09-11 21:33:46 +03:00
parent 035384cd6f
commit e1a11bd70a
3 changed files with 3 additions and 3 deletions

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 in ('mono8', 'rgb8')
def test_map_markers(node):
markers = rospy.wait_for_message('aruco_map/markers', MarkerArray, timeout=5)