From b13b27f817e83fcb4f0574b2b177a795c5307ae5 Mon Sep 17 00:00:00 2001 From: simondlevy Date: Thu, 26 Jul 2018 01:56:01 -0400 Subject: [PATCH] map.set() => map.__init__() --- python/breezyslam/algorithms.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/breezyslam/algorithms.py b/python/breezyslam/algorithms.py index 07080e9..bb77f22 100644 --- a/python/breezyslam/algorithms.py +++ b/python/breezyslam/algorithms.py @@ -19,9 +19,6 @@ You should have received a copy of the GNU Lesser General Public License along with this code. If not, see . ''' -# distanceScanToMap is implemented as a C extension for efficiency -from pybreezyslam import distanceScanToMap - import pybreezyslam import math @@ -125,7 +122,7 @@ class CoreSLAM(object): Sets current map pixels to values in bytearray, where bytearray length is square of map size passed to CoreSLAM.__init__(). ''' - self.map.set(mapbytes) + self.map.__init__(mapbytes) def __str__(self):