i got error:
Number of samples: 1097
Reading: 0
Map: 0
Traceback (most recent call last):
File "E:/PycharmProjects/slam_demo/main.py", line 762, in
main(datafile, float(cellSize), Type)
File "E:/PycharmProjects/slam_demo/main.py", line 587, in main
writeImage(Grid) # ,'Maps/Map'+str(10000+(k/interval)))
File "E:/PycharmProjects/slam_demo/main.py", line 449, in writeImage
im = ImageTk.PhotoImage(pilImage)
File "C:\Python27\lib\site-packages\PIL\ImageTk.py", line 113, in init
self.__photo = apply(Tkinter.PhotoImage, (), kw)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 3372, in init
Image.init(self, 'photo', name, cnf, master, **kw)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 3326, in init
self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: out of stack space (infinite loop?)
Exception AttributeError: "PhotoImage instance has no attribute '_PhotoImage__photo'" in <bound method PhotoImage.del of <PIL.ImageTk.PhotoImage instance at 0x04992698>> ignored