simondlevy / BreezySLAM

Simple, efficient, open-source package for Simultaneous Localization and Mapping
GNU Lesser General Public License v3.0
758 stars 251 forks source link

Black plt screen #36

Closed OneQuestion closed 5 years ago

OneQuestion commented 5 years ago

Hi. I am having weird trouble with rpslam.py. When I open it I see only black area with red arrow in it. The positioning seems to be working (arrow moves), but I can't see any walls, nothing. This problem was rare at the beggining, usually everything worked. But suddedly no more. I reinstalled most of libraries, even installed fresh new distro( I'm using PC with Mint.), but problem remained same. Also, I changed 'distances.copy()' and 'angles.copy()' to ones without '.copy()' because of an error ''list' object has no attribute 'copy'' (but for python3 I didn't change it but it then shows another error:'Too many measurments in the input buffer: 542/500. Clearing buffer...' and also shows black screen). I would be very happy if someone could help me with this. Thank you.

OneQuestion commented 5 years ago

Here's that black image with moving (so possibly working positioning) cursor. slam

OneQuestion commented 5 years ago

Solved the problem with lower MIN_SAMPLES value