diff --git a/python/breezyslam/algorithms.py b/python/breezyslam/algorithms.py index 81db3fa..a6cb392 100644 --- a/python/breezyslam/algorithms.py +++ b/python/breezyslam/algorithms.py @@ -112,7 +112,7 @@ class CoreSLAM(object): self.velocities = (new_dxy_mm, new_dtheta_degrees, 0) # Implementing class updates map and pointcloud - self._updateMapAndPointcloud(velocities, should_update_map) + self._updateMapAndPointcloud(self.velocities, should_update_map) def getmap(self, mapbytes): '''