Skip to content

Commit

Permalink
Merge pull request #2313 from JdeRobot/issue-2312
Browse files Browse the repository at this point in the history
getMap function returns a grayscale uint8 array
  • Loading branch information
ReyDoran authored Nov 10, 2023
2 parents 79f6c7f + 7a11536 commit 8bfaab5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ def robotPose(self):
pass

def getMap(self, url):
return plt.imread(url)
return cv2.imread(url, cv2.IMREAD_GRAYSCALE)

0 comments on commit 8bfaab5

Please sign in to comment.