TheOnceAndFutureSmalltalker / ros_map_editor

Qt based tool for editing maps generated by ROS gmapping package.
61 stars 13 forks source link

Hao to use it? #1

Closed Nova555 closed 4 years ago

Nova555 commented 4 years ago

I perform "python MapEditor.py test-nova". The error is: "test-nova.pgm MapEditor.py:164: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. for doc in docs: " And I Click UI window. The soft will exit. The error is: "Traceback (most recent call last): File "MapEditor.py", line 197, in mapClick self.im.putpixel((x,y), val)
File "/home/nova/.local/lib/python2.7/site-packages/PIL/Image.py", line 1753, in putpixel return self.im.putpixel(xy, value) TypeError: integer argument expected, got float"

Nova555 commented 4 years ago

I solved the. using python3