Skip to content

Break down when clcking the map #2

@TrayfourYu

Description

@TrayfourYu

Hi,
I want to edit gmapping map and just cloned this project and run
python MapEditor.py map.pgm.
So, the UI came out, but it show the error below when I clicked the map.
Traceback (most recent call last): File "MapEditor.py", line 197, in mapClick self.im.putpixel((x,y), val) File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1507, in putpixel return self.im.putpixel(xy, value) TypeError: integer argument expected, got float

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions